flat_ini.h

00001 
00002 /*----------------------------------------------------------------------------
00003    
00004    File name    :   flat_ini.h
00005    Author       :   Juergen Schreiber
00006    Created on   :   Mar 04, 2002
00007    Description  :   preparing flatfield ini file handling for SPIFFI
00008 
00009  ---------------------------------------------------------------------------*/
00010 
00011 
00012 #ifndef _FLAT_INI_H_
00013 #define _FLAT_INI_H_
00014 
00015 
00016 /*---------------------------------------------------------------------------
00017                                 Includes
00018 ---------------------------------------------------------------------------*/
00019 
00020 /*
00021 #include <stdio.h>
00022 */
00023 #include "eclipse.h"
00024 #include "flat_cfg.h"
00025 #include <cpl.h>
00026  
00027 /*---------------------------------------------------------------------------
00028                                 Defines
00029 ---------------------------------------------------------------------------*/
00030 
00031 #define FRAME_ON     1     /* object frames */
00032 #define FRAME_OFF    0     /* off frames, that means sky frames or calibration frames with lamp switched off */
00033 #define FRAME_POS1   2     /* frames exposed with grating position 1 */
00034 #define FRAME_POS2   3     /* frames exposed with dithered grating position 2 */
00035  
00036 /*----------------------------------------------------------------------------
00037                              Function prototypes 
00038  ---------------------------------------------------------------------------*/
00039 
00040 
00041 /*-------------------------------------------------------------------------*/
00054 /*--------------------------------------------------------------------------*/
00055 /*<python>*/
00056 int generateFlat_ini_file(
00057         char * ini_name,
00058         char * name_i,
00059         char * name_o
00060 );
00061 /*</python>*/
00062 
00063 /*-------------------------------------------------------------------------*/
00074 /*--------------------------------------------------------------------------*/
00075 
00076 /*<python>*/
00077 flat_config * parse_flat_ini_file(char * ini_name) ;
00078 /*</python>*/
00079 
00080 #endif

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