00001 #ifndef FLAT_LAMPS_H 00002 #define FLAT_LAMPS_H 00003 /***************************************************************************** 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: lamp_flats.h,v 1.10 2005/09/06 16:47:46 amodigli Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * amodigli 17/09/03 created 00011 */ 00012 00013 /************************************************************************ 00014 * lamp_flats.h 00015 * this step handles stacks of lamp flat fields, 00016 * o it takes a clean mean, 00017 * o subtracts the off- from the on-frames, 00018 * o corrects for static bad pixels and normalizes for a master flat field. 00019 * o It distinguishes the spectrally dithered frames and 00020 * o treats them the same way. 00021 * o It can also generate a static bad pixel mask if wished. 00022 *---------------------------------------------------------------------- 00023 */ 00024 00025 /* 00026 * header files 00027 */ 00028 #include <cpl.h> 00029 /*OneImage * medianImage( OneImage * im, float fmedian );*/ 00030 00031 /*---------------------------------------------------------------------------- 00032 * Function ANSI C prototypes 00033 *--------------------------------------------------------------------------*/ 00034 00035 /*---------------------------------------------------------------------------- 00036 Function : lamp_flats() 00037 In : ini_file: file name of according .ini file 00038 Out : integer (0 if it worked, -1 if it doesn't) 00039 Job : 00040 00041 * this step handles stacks of lamp flat fields, 00042 * o it takes a clean mean, 00043 * o subtracts the off- from the on-frames, 00044 * o corrects for static bad pixels and normalizes for a master flat field. 00045 * o It distinguishes the spectrally dithered frames and 00046 * o treats them the same way. 00047 * o It can also generate a static bad pixel mask if wished. 00048 00049 ---------------------------------------------------------------------------*/ 00050 int lamp_flats (const char* plugin_id,cpl_parameterlist* config, cpl_frameset* sof) ; 00051 00052 00053 #endif 00054 00055 /*--------------------------------------------------------------------------*/
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001