SINFONI Pipeline Reference Manual  2.6.0
sinfo_rec_utils.h
1 #ifndef SINFO_REC_UTILS_H
2 #define SINFO_REC_UTILS_H
3 
4 /* $Id: sinfo_rec_utils.h,v 1.2 2007-06-06 07:10:45 amodigli Exp $
5  *
6  * This file is part of the CPL (Common Pipeline Library)
7  * Copyright (C) 2002 European Southern Observatory
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22  */
23 /*
24  * $Author: amodigli $
25  * $Date: 2007-06-06 07:10:45 $
26  * $Revision: 1.2 $
27  * $Name: not supported by cvs2svn $
28  */
29 
30  /****************************************************************
31  * Object Data reduction *
32  ****************************************************************/
33 
34 #ifdef HAVE_CONFIG_H
35 #include <config.h> /* allows the program compilation */
36 #endif
37 
38 /*-----------------------------------------------------------------------------
39  Includes
40 -----------------------------------------------------------------------------*/
41 
42 /* std */
43 #include <strings.h>
44 #include <string.h>
45 #include <stdio.h>
46 #include <math.h>
47 #include <libgen.h>
48 
49 /* cpl */
50 #include <cpl.h>
51 
52 /* sinfoni */
53 #include <sinfo_pro_types.h>
54 #include <sinfo_key_names.h>
55 #include <sinfo_raw_types.h>
56 #include <sinfo_globals.h>
57 #include <sinfo_new_prepare_stacked_frames.h>
58 #include <sinfo_functions.h>
59 
60 
61 /*-----------------------------------------------------------------------------
62  Functions prototypes
63  ----------------------------------------------------------------------------*/
64 
65 
66 int
67 sinfo_new_get_dummy_obj_sky_stacked(cpl_frameset* obj_set,
68  cpl_frameset** set,
69  cpl_parameterlist* config,
70  fake* fk,
71  char* pro_ctg,
72  const char* plugin_id);
73 
74 cpl_frame*
75 sinfo_new_get_dummy_sky(cpl_frameset* obj_set);
76 
77 int
78 sinfo_new_sci_stk_frames(cpl_parameterlist* config,
79  cpl_frameset** set,
80  const char* recipe_id,
81  const char** pro_ctg_cube);
82 
83 int
84 sinfo_cub_stk_frames(cpl_parameterlist* config,
85  cpl_frameset** set,
86  const char* recipe_id,
87  const char** pro_ctg_cube);
88 
89 
90 int
91 sinfo_new_stack_frames(cpl_parameterlist* cfg,
92  cpl_frameset* set,
93  const char* procatg,
94  const int id,
95  fake* fk,
96  const char* plugin_id);
97 
98 const char*
99 sinfo_new_set_obj_procatg(const char* tag);
100 
101 int
102 sinfo_get_dummy_obj_sky_stacked_and_cubes(cpl_frameset* obj_set,
103  cpl_frameset** set,
104  cpl_parameterlist* config,
105  fake* fk,
106  char* pro_ctg,
107  const char* plugin_id);
108 #endif