SINFONI Pipeline Reference Manual  2.5.2
sinfo_ns_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 : sinfo_ns_ini.h
22  Author : Andrea Modigliani
23  Created on : May 19, 2004
24  Description : parse cpl input for the north-south-test, that means
25  the determination of the distances of the slitlets to
26  each other.
27  ---------------------------------------------------------------------------*/
28 #ifndef SINFO_NS_INI_BY_CPL_H
29 #define SINFO_NS_INI_BY_CPL_H
30 /*---------------------------------------------------------------------------
31  Includes
32 ---------------------------------------------------------------------------*/
33 #include <cpl.h>
34 #include "sinfo_ns_cfg.h"
35 #include "sinfo_msg.h"
36 /*---------------------------------------------------------------------------
37  Defines
38 ---------------------------------------------------------------------------*/
39 #define FRAME_ON 1 /* object frames */
40 #define FRAME_OFF 0 /* off frames */
41 /*----------------------------------------------------------------------------
42  Function prototypes
43  ---------------------------------------------------------------------------*/
56 /*--------------------------------------------------------------------------*/
57 
58 ns_config *
59 sinfo_parse_cpl_input_ns(cpl_parameterlist * cpl_cfg,
60  cpl_frameset* sof,
61  cpl_frameset** raw);
68 void sinfo_ns_free(ns_config ** cfg);
69 #endif