SINFONI Pipeline Reference Manual  2.6.0
sinfo_wcal_functions.h
1 /* $Id: sinfo_wcal_functions.h,v 1.2 2006-10-22 14:12:28 amodigli Exp $
2  *
3  * This file is part of the SINFONI Pipeline
4  * Copyright (C) 2002,2003 European Southern Observatory
5  *
6  * This proram is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: amodigli $
23  * $Date: 2006-10-22 14:12:28 $
24  * $Revision: 1.2 $
25  * $Name: not supported by cvs2svn $
26  */
27 #ifndef SINFO_WCAL_FUNCTIONS_H
28 #define SINFO_WCAL_FUNCTIONS_H
29 
30 struct qc_wcal_ {
31 
32  double avg_on;
33  double std_on;
34  double avg_of;
35  double std_of;
36  double avg_di;
37  double std_di;
38  double max_on;
39  double max_of;
40  double max_di;
41  double nsat_on;
42  double noise_on;
43  double noise_of;
44  double flux_on;
45  double nsat;
46 
47 };
48 
49 
50 
51 typedef struct qc_wcal_ qc_wcal;
52 
53 /* extern struct qc_wcal qc_wcal_par; */
54 #include "sinfo_functions.h"
55 #include <cpl.h>
56 #include <sinfo_globals.h>
57 #include <sinfo_spiffi_types.h>
58 #include <sinfo_wavecal_cfg.h>
59 #include "sinfo_msg.h"
60 /* ----------------------------------------------------------------------
61  group of frames
62 ---------------------------------------------------------------------- */
63 CPL_BEGIN_DECLS
64 int sinfo_dumpTblToFitParams ( FitParams ** params, char * filename );
65 int sinfo_det_ncounts(cpl_frameset* raw, int thresh_max, qc_wcal* qc);
66 qc_wcal* sinfo_qc_wcal_new(void);
67 void sinfo_qc_wcal_delete(qc_wcal** qc);
68 CPL_END_DECLS
69 
70 #endif