00001 00002 /*---------------------------------------------------------------------------- 00003 00004 File name : stack_ini_by_cpl.h 00005 Author : Andrea Modigliani 00006 Created on : May 23, 2004 00007 Description : preparing stack of frames cpl input handling for SPIFFI 00008 00009 ---------------------------------------------------------------------------*/ 00010 00011 00012 #ifndef _NEW_STACK_INI_BY_CPL_H_ 00013 #define _NEW_STACK_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 00028 00029 #include "sinfoni_dfs.h" 00030 #include "sinfoni_recipes_defaults.h" 00031 #include "eclipse.h" 00032 */ 00033 #include "sinfoni_globals.h" 00034 #include "new_stack_cfg.h" 00035 #include "sinfoni_recipes_defaults.h" 00036 00037 /*--------------------------------------------------------------------------- 00038 Defines 00039 ---------------------------------------------------------------------------*/ 00040 00041 #define FRAME_OFF 0 /* off frames, that means sky frames or calibration frames with lamp switched off */ 00042 #define FRAME_ON 1 /* object frames */ 00043 #define FRAME_POS1 2 /* frames exposed with grating position 1 */ 00044 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */ 00045 #define FRAME_REF 4 /* reference frames */ 00046 #define FRAME_DRK 5 /* dark frame*/ 00047 00048 /*---------------------------------------------------------------------------- 00049 Function prototypes 00050 ---------------------------------------------------------------------------*/ 00051 00052 /* generateStack_ini_file */ 00053 00054 /*-------------------------------------------------------------------------*/ 00065 /*--------------------------------------------------------------------------*/ 00066 00067 /*<python>*/ 00068 stack_config_n * parse_cpl_input_stack(cpl_parameterlist * cpl_cfg, cpl_frameset* sof, 00069 cpl_frameset** raw, fake* fk) ; 00070 void stack_free(stack_config_n * cfg); 00071 /*</python>*/ 00072 00073 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001