DETMON Pipeline Reference Manual  1.3.0
detmon.h
1 /* $Id: detmon.h,v 1.3 2013-01-25 16:08:41 jtaylor Exp $
2  *
3  * This file is part of the irplib package
4  * Copyright (C) 2002, 2003 European Southern Observatory
5  *
6  * This program 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: jtaylor $
23  * $Date: 2013-01-25 16:08:41 $
24  * $Revision: 1.3 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef IRPLIB_DETMON_H
29 #define IRPLIB_DETMON_H
30 
31 /*----------------------------------------------------------------------------
32  Includes
33  ----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 #include <detmon_cpl_size.h>
37 
38 /*----------------------------------------------------------------------------
39  Prototypes
40  ----------------------------------------------------------------------------*/
41 
42 
43 #define NIR TRUE
44 #define OPT FALSE
45 
46 
47 #undef REGEXP
48 #define REGEXP "ARCFILE|MJD-OBS|ESO TPL ID|DATE-OBS|ESO DET DIT|ESO DET NDIT"
49 void detmon_print_rec_status(void);
50 
51 cpl_propertylist *
52 detmon_fill_prolist(const char *,
53  const char *,
54  const char *,
55  cpl_boolean);
56 
57 
58 
59 
60 double irplib_pfits_get_exptime(const cpl_propertylist *);
61 
62 cpl_error_code
63 detmon_fill_parlist(cpl_parameterlist *,
64  const char *, const char *, int, ...);
65 
66 int
67 detmon_retrieve_par_int(const char *,
68  const char *,
69  const char *, const cpl_parameterlist *);
70 
71 double
72 detmon_retrieve_par_double(const char *,
73  const char *,
74  const char *, const cpl_parameterlist *);
75 
76 int detmon_lg_mr(cpl_frameset * frameset,
77  const cpl_parameterlist * parlist_,
78  const char * recipe,
79  cpl_boolean opt);
80 
81 #endif