00001 00002 /*---------------------------------------------------------------------------- 00003 00004 File name : flat_ini.h 00005 Author : Andrea Modigliani 00006 Created on : Mar 04, 2004 00007 Description : flatfield cpl_input handling for SPIFFI 00008 00009 ---------------------------------------------------------------------------*/ 00010 00011 00012 #ifndef _FLAT_INI_BY_CPL_H_ 00013 #define _FLAT_INI_BY_CPL_H_ 00014 00015 00016 /*--------------------------------------------------------------------------- 00017 Includes 00018 ---------------------------------------------------------------------------*/ 00019 00020 /* 00021 #include <stdio.h> 00022 */ 00023 #include <cpl.h> 00024 /* 00025 #include <cxtypes.h> 00026 #include <cxmessages.h> 00027 #include "sinfoni_dfs.h" 00028 #include "eclipse.h" 00029 */ 00030 /* #include "xmemory.h" */ 00031 00032 #include "flat_cfg.h" 00033 #include "sinfoni_recipes_defaults.h" 00034 00035 /*--------------------------------------------------------------------------- 00036 Defines 00037 ---------------------------------------------------------------------------*/ 00038 00039 #define FRAME_ON 1 /* object frames */ 00040 #define FRAME_OFF 0 /* off frames, that means sky frames or calibration frames with lamp switched off */ 00041 #define FRAME_POS1 2 /* frames exposed with grating position 1 */ 00042 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */ 00043 00044 /*---------------------------------------------------------------------------- 00045 Function prototypes 00046 ---------------------------------------------------------------------------*/ 00047 00048 /* generateFlat_ini_file */ 00049 00050 00051 /*-------------------------------------------------------------------------*/ 00062 /*--------------------------------------------------------------------------*/ 00063 00064 flat_config * parse_cpl_input_flat(cpl_parameterlist * cpl_cfg, 00065 cpl_frameset* sof, 00066 cpl_frameset** raw) ; 00067 void flat_free(flat_config * cfg); 00068 00069 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001