SINFONI Pipeline Reference Manual  2.6.0
sinfo_new_dark.h
1 #ifndef SINFO_NEW_DARK_H
2 #define SINFO_NEW_DARK_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_dark.h,v 1.6 2007-06-06 07:10:45 amodigli Exp $"
25 *
26 * who when what
27 * -------- -------- ----------------------------------------------
28 * amodigli 17/09/03 created
29 */
30 
31 /************************************************************************
32  * sinfo_dark.h
33  * routines to create a master sinfo_dark
34  *----------------------------------------------------------------------
35  */
36 
37 /*
38  * header files
39  */
40 #include <cpl.h>
41 #include "sinfo_msg.h"
42 /*@-skipposixheaders@*/
43 /*@=skipposixheaders@*/
44 /*----------------------------------------------------------------------------
45  * Function ANSI C prototypes
46  *--------------------------------------------------------------------------*/
47 
48 /*----------------------------------------------------------------------------
49  @name cpl_dark()
50  @param ini_file: file name of according .ini file
51  @param cpl_parameterlist: structure containing recipe's parameters
52  @param cpl_frameset: structure containing recipe's input files
53  @result integer (0 if it worked, -1 if it doesn't)
54  @doc Sorts frames according to integration time
55  Take the clean mean of a stack of frames with the same
56  integration time
57 
58  ---------------------------------------------------------------------------*/
59 int
60 sinfo_new_dark (const char* plugin_id, cpl_parameterlist* config,
61  cpl_frameset* set, char* dark_name);
62 #endif
63 
64 /*--------------------------------------------------------------------------*/