SINFONI Pipeline Reference Manual  2.5.2
sinfo_flat_ini.h
1 /*
2  * This file is part of the ESO SINFONI Pipeline
3  * Copyright (C) 2004,2005 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18  */
19 /*----------------------------------------------------------------------------
20 
21  File name : sinfo_flat_ini.h
22  Author : Juergen Schreiber
23  Created on : Mar 04, 2002
24  Description : preparing flatfield ini file handling for SPIFFI
25  ---------------------------------------------------------------------------*/
26 #ifndef SINFO_FLAT_INI_H
27 #define SINFO_FLAT_INI_H
28 /*---------------------------------------------------------------------------
29  Includes
30 ---------------------------------------------------------------------------*/
31 #include "sinfo_flat_cfg.h"
32 #include <cpl.h>
33 /*---------------------------------------------------------------------------
34  Defines
35 ---------------------------------------------------------------------------*/
36 #define FRAME_ON 1 /* object frames */
37 #define FRAME_OFF 0 /* off frames, that means sky frames or
38  calibration frames with lamp switched off */
39 #define FRAME_POS1 2 /* frames exposed with grating position 1 */
40 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */
41 /*----------------------------------------------------------------------------
42  Function prototypes
43  ---------------------------------------------------------------------------*/
44 
54 flat_config *
55 parse_flat_ini_file(char * ini_name) ;
56 
57 #endif