sinfo_new_lamp_flats.h

00001 #ifndef SINFO_NEW_LAMP_FLATS_H
00002 #define SINFO_NEW_LAMP_FLATS_H
00003 /*
00004  * This file is part of the ESO SINFONI Pipeline
00005  * Copyright (C) 2004,2005 European Southern Observatory
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00020  */
00021 /*****************************************************************************
00022 * E.S.O. - VLT project
00023 *
00024 * "@(#) $Id: sinfo_new_lamp_flats.h,v 1.9 2007/09/21 14:13:43 amodigli Exp $"
00025 *
00026 * who       when      what
00027 * --------  --------  ----------------------------------------------
00028 * amodigli  17/09/03  created
00029 */
00030 
00031 /************************************************************************
00032  * sinfo_new_lamp_flats.h
00033  * this step handles stacks of lamp flat fields, 
00034  *  o it takes a clean mean,
00035  *  o subtracts the off- from the on-frames, 
00036  *  o corrects for static bad pixels and normalizes for a master flat field. 
00037  *  o It distinguishes the spectrally dithered frames and 
00038  *  o treats them the same way. 
00039  *  o It can also generate a static bad pixel mask if wished.
00040  *----------------------------------------------------------------------
00041  */
00042 
00043 /*
00044  * header files
00045  */
00046 #include <cpl.h> 
00047 #include "sinfo_msg.h"
00048 
00049 /*----------------------------------------------------------------------------
00050  *                        Function ANSI C prototypes
00051  *--------------------------------------------------------------------------*/
00052 
00053 /*----------------------------------------------------------------------------
00054    Function     :       sinfo_new_lamp_flats()
00055    In           :       ini_file: file name of according .ini file
00056    Out          :       integer (0 if it worked, -1 if it doesn't) 
00057    Job          :
00058        
00059  * this step handles stacks of lamp flat fields, 
00060  *  o it takes a clean mean,
00061  *  o subtracts the off- from the on-frames, 
00062  *  o corrects for static bad pixels and normalizes for a master flat field. 
00063  *  o It distinguishes the spectrally dithered frames and 
00064  *  o treats them the same way. 
00065  *  o It can also generate a static bad pixel mask if wished.
00066 
00067  ---------------------------------------------------------------------------*/
00068 int 
00069 sinfo_new_lamp_flats (const char* plugin_id,
00070                       cpl_parameterlist* config, 
00071                       cpl_frameset* sof,
00072                       cpl_frameset* ref_set) ;
00073 
00074 
00075 #endif 
00076 
00077 /*--------------------------------------------------------------------------*/

Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1