00001 00002 /*---------------------------------------------------------------------------- 00003 00004 File name : stack_ini.h 00005 Author : Juergen Schreiber 00006 Created on : Sept 25, 2001 00007 Description : preparing stack of frames ini file handling for SPIFFI 00008 00009 ---------------------------------------------------------------------------*/ 00010 00011 00012 #ifndef _NEW_STACK_INI_H_ 00013 #define _NEW_STACK_INI_H_ 00014 00015 00016 /*--------------------------------------------------------------------------- 00017 Includes 00018 ---------------------------------------------------------------------------*/ 00019 00020 /* 00021 #include <stdio.h> 00022 */ 00023 #include <cpl.h> 00024 00025 #include "eclipse.h" 00026 #include "new_stack_cfg.h" 00027 00028 00029 /*--------------------------------------------------------------------------- 00030 Defines 00031 ---------------------------------------------------------------------------*/ 00032 00033 #define FRAME_OFF 0 /* off frames, that means sky frames or calibration frames with lamp switched off */ 00034 #define FRAME_ON 1 /* object frames */ 00035 #define FRAME_POS1 2 /* frames exposed with grating position 1 */ 00036 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */ 00037 #define FRAME_REF 4 /* reference frames */ 00038 #define FRAME_DRK 5 /* dark frame*/ 00039 00040 /*---------------------------------------------------------------------------- 00041 Function prototypes 00042 ---------------------------------------------------------------------------*/ 00043 00044 00045 /*-------------------------------------------------------------------------*/ 00058 /*--------------------------------------------------------------------------*/ 00059 /*<python>*/ 00060 int generateStack_ini_file_n( 00061 char * ini_name, 00062 char * name_i, 00063 char * name_o 00064 ); 00065 /*</python>*/ 00066 00067 /*-------------------------------------------------------------------------*/ 00078 /*--------------------------------------------------------------------------*/ 00079 00080 /*<python>*/ 00081 stack_config_n * parse_stack_ini_file_n(char * ini_name) ; 00082 /*</python>*/ 00083 00084 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001