SINFONI Pipeline Reference Manual  2.6.0
sinfo_new_prepare_stacked_frames.h
1 #ifndef SINFO_NEW_PREPARE_STACKED_FRAMES_H
2 #define SINFO_NEW_PREPARE_STACKED_FRAMES_H
3 /*
4  * This file is part of the ESO SINFONI Pipeline
5  * Copyright (C) 2004,2005 European Southern Observatory
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
20  */
21 /*****************************************************************************
22 * E.S.O. - VLT project
23 *
24 * "@(#) $Id: sinfo_new_prepare_stacked_frames.h,v 1.7 2007-09-21 14:48:10 amodigli Exp $"
25 *
26 * who when what
27 * -------- -------- ----------------------------------------------
28 * amodigli 17/09/03 created
29 */
30 
31 /************************************************************************
32  * preapare_stacked_frames.h
33 
34  sinfo_prepare_stacked_frames
35 
36  this handles stacks of input frames, that means it takes a clean mean,
37  subtracts the off- from the on-frames, flatfields, corrects for static bad
38  pixels, corrects for a linear tilt of the spectra if necessary, and finally,
39  interleaves dithered exposures or convolves a single exposure with a
40  Gaussian, respectively.
41 
42  *----------------------------------------------------------------------
43  */
44 
45 /*
46  * header files
47  */
48 #include <cpl.h>
49 #include "sinfo_globals.h"
50 #include "sinfo_msg.h"
51 
52 
53 /*----------------------------------------------------------------------------
54  * Function ANSI C prototypes
55  *--------------------------------------------------------------------------*/
56 
57 /*----------------------------------------------------------------------------
58  Function : sinfo_new_prepare_stacked_frames()
59  In : ini_file: file name of according .ini file
60  Out : integer (0 if it worked, -1 if it doesn't)
61  Job :
62 
63  this handles stacks of input frames, that means it takes a clean mean,
64  subtracts the off- from the on-frames, flatfields, corrects for static bad
65  pixels, corrects for a linear tilt of the spectra if necessary, and finally,
66  interleaves dithered exposures or convolves a single exposure with a
67  Gaussian, respectively.
68 
69  ---------------------------------------------------------------------------*/
70 int
71 sinfo_new_prepare_stacked_frames (const char* plugin_id,
72  cpl_parameterlist* config,
73  cpl_frameset* sof,
74  cpl_frameset* ref_set,
75  const char* procatg,
76  const int frm_ind,
77  fake* fk) ;
78 
79 #endif
80 
81 /*--------------------------------------------------------------------------*/