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 _STACK_INI_H_ 00013 #define _STACK_INI_H_ 00014 00015 00016 /*--------------------------------------------------------------------------- 00017 Includes 00018 ---------------------------------------------------------------------------*/ 00019 00020 /* 00021 #include <stdio.h> 00022 */ 00023 #include "eclipse.h" 00024 #include <cpl.h> 00025 00026 #include "stack_cfg.h" 00027 00028 00029 /*--------------------------------------------------------------------------- 00030 Defines 00031 ---------------------------------------------------------------------------*/ 00032 00033 #define FRAME_ON 1 /* object frames */ 00034 #define FRAME_OFF 0 /* off frames, that means sky frames or calibration frames with lamp switched off */ 00035 #define FRAME_POS1 2 /* frames exposed with grating position 1 */ 00036 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */ 00037 00038 /*---------------------------------------------------------------------------- 00039 Function prototypes 00040 ---------------------------------------------------------------------------*/ 00041 00042 00043 /*-------------------------------------------------------------------------*/ 00056 /*--------------------------------------------------------------------------*/ 00057 /*<python>*/ 00058 int generateStack_ini_file( 00059 char * ini_name, 00060 char * name_i, 00061 char * name_o 00062 ); 00063 /*</python>*/ 00064 00065 /*-------------------------------------------------------------------------*/ 00076 /*--------------------------------------------------------------------------*/ 00077 00078 /*<python>*/ 00079 stack_config * parse_stack_ini_file(char * ini_name) ; 00080 /*</python>*/ 00081 00082 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001