IIINSTRUMENT Pipeline Reference Manual  1.3.13
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 
37 /*----------------------------------------------------------------------------
38  Prototypes
39  ----------------------------------------------------------------------------*/
40 
41 
42 #define NIR TRUE
43 #define OPT FALSE
44 
45 
46 #undef REGEXP
47 #define REGEXP "ARCFILE|MJD-OBS|ESO TPL ID|DATE-OBS|ESO DET DIT|ESO DET NDIT"
48 void detmon_print_rec_status(void);
49 
50 cpl_propertylist *
51 detmon_fill_prolist(const char *,
52  const char *,
53  const char *,
54  cpl_boolean) CPL_ATTR_ALLOC;
55 
56 
57 
58 
59 double irplib_pfits_get_exptime(const cpl_propertylist *);
60 
61 cpl_error_code
62 detmon_fill_parlist(cpl_parameterlist *,
63  const char *, const char *, int, ...);
64 
65 int
66 detmon_retrieve_par_int(const char *,
67  const char *,
68  const char *, const cpl_parameterlist *);
69 
70 double
71 detmon_retrieve_par_double(const char *,
72  const char *,
73  const char *, const cpl_parameterlist *);
74 
75 int detmon_lg_mr(cpl_frameset * frameset,
76  const cpl_parameterlist * parlist_,
77  const char * recipe,
78  cpl_boolean opt);
79 
80 #endif