lamp_spec.h

00001 #ifndef LAMP_SPEC_H
00002 #define LAMP_SPEC_H
00003 /*****************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: lamp_spec.h,v 1.6 2005/04/29 12:18:58 amodigli Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * amodigli  17/09/03  created
00011 */
00012 
00013 /************************************************************************
00014 This does the resampling of an offset-corrected, bad pixel corrected and
00015  eventually interleaved frame of an halogen lamp exposure. 
00016  Additionally, an intensity calibration is carried through by using a 
00017  counts to intensity value measured before and given as input.
00018 
00019  Then one halogen lamp spectrum is extracted by taking a clean mean 
00020  along the spatial direction by omitting the bad pixel positions.
00021 
00022 
00023  *----------------------------------------------------------------------
00024  */
00025 
00026 /*
00027  * header files
00028  */
00029 
00030 
00031 /*
00032 #include <stdio.h>
00033 #include <math.h>
00034 #include <cxmessages.h>
00035 #include <cxstrutils.h>
00036 */
00037 
00038 #include <cpl.h>   
00039 
00040 /*
00041 #include "eclipse.h"
00042 #include "spiffi.h"
00043 #include "utilities.h"
00044 #include "sinfoni_pfits.h"
00045 #include "sinfoni_dfs.h"
00046 */
00047 /*----------------------------------------------------------------------------
00048  *                      Function ANSI C prototypes
00049  *--------------------------------------------------------------------------*/
00050 
00051 /*----------------------------------------------------------------------------
00052    Function     :       lamp_flats()
00053    In           :       ini_file: file name of according .ini file
00054    Out          :       integer (0 if it worked, -1 if it doesn't) 
00055    Job          :
00056        
00057 
00058 This does the resampling of an offset-corrected, bad pixel corrected and
00059  eventually interleaved frame of an halogen lamp exposure. 
00060  Additionally, an intensity calibration is carried through by using a 
00061  counts to intensity value measured before and given as input.
00062 
00063  Then one halogen lamp spectrum is extracted by taking a clean mean 
00064  along the spatial direction by omitting the bad pixel positions.
00065 
00066  ---------------------------------------------------------------------------*/
00067 int lamp_spec (cpl_parameterlist* config,cpl_frameset* sof) ;
00068 
00069 
00070 #endif 
00071 
00072 /*--------------------------------------------------------------------------*/

Generated on Wed Oct 26 13:08:52 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001