SINFONI Pipeline Reference Manual
2.6.0
sinfoni
sinfo_stack_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
22
File name : sinfo_stack_ini.h
23
Author : Juergen Schreiber
24
Created on : Sept 25, 2001
25
Description : preparing stack of frames ini file handling for SPIFFI
26
27
---------------------------------------------------------------------------*/
28
29
30
#ifndef SINFO_STACK_INI_H
31
#define SINFO_STACK_INI_H
32
33
34
/*---------------------------------------------------------------------------
35
Includes
36
---------------------------------------------------------------------------*/
37
38
#include <cpl.h>
39
40
#include "sinfo_stack_cfg.h"
41
42
43
/*---------------------------------------------------------------------------
44
Defines
45
---------------------------------------------------------------------------*/
46
47
#define FRAME_ON 1
/* object frames */
48
#define FRAME_OFF 0
/* off frames, that means sky frames or calibration
49
frames with lamp switched off */
50
#define FRAME_POS1 2
/* frames exposed with grating position 1 */
51
#define FRAME_POS2 3
/* frames exposed with dithered grating position 2 */
52
53
/*----------------------------------------------------------------------------
54
Function prototypes
55
---------------------------------------------------------------------------*/
56
57
58
/*-------------------------------------------------------------------------*/
73
/*--------------------------------------------------------------------------*/
74
int
generateStack_ini_file(
75
char
* ini_name,
76
char
* name_i,
77
char
* name_o
78
);
79
80
/*-------------------------------------------------------------------------*/
91
/*--------------------------------------------------------------------------*/
92
93
stack_config * parse_stack_ini_file(
char
* ini_name) ;
94
95
#endif
Generated by
1.8.6