SINFONI Pipeline Reference Manual  2.5.2
sinfo_stack_ini_by_cpl.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 : stack_ini_by_cpl.h
22  Author : Andrea Modigliani
23  Created on : May 23, 2004
24  Description : preparing stack of frames cpl input handling for SPIFFI
25  ---------------------------------------------------------------------------*/
26 #ifndef SINFO_STACK_INI_BY_CPL_H
27 #define SINFO_STACK_INI_BY_CPL_H
28 /*---------------------------------------------------------------------------
29  Includes
30 ---------------------------------------------------------------------------*/
31 #include <cpl.h>
32 #include "sinfo_msg.h"
33 #include "sinfo_globals.h"
34 #include "sinfo_stack_cfg.h"
35 /*---------------------------------------------------------------------------
36  Defines
37 ---------------------------------------------------------------------------*/
38 #define FRAME_OFF 0 /* off frames, that means sky frames
39  or calibration frames with lamp switched off */
40 #define FRAME_ON 1 /* object frames */
41 #define FRAME_POS1 2 /* frames exposed with grating position 1 */
42 #define FRAME_POS2 3 /* frames exposed with dithered grating position 2 */
43 #define FRAME_REF 4 /* reference frames */
44 #define FRAME_DRK 5 /* sinfo_dark frame*/
45 /*----------------------------------------------------------------------------
46  Function prototypes
47  ---------------------------------------------------------------------------*/
48 /* generateStack_ini_file */
61 /*--------------------------------------------------------------------------*/
62 stack_config_n *
63 sinfo_parse_cpl_input_stack(cpl_parameterlist * cpl_cfg,
64  cpl_frameset* sof,
65  cpl_frameset** raw,
66  fake* fk) ;
67 void sinfo_stack_free(stack_config_n ** cfg);
68 
69 #endif