IIINSTRUMENT Pipeline Reference Manual  1.3.12
detmon_ir_lg_mr.c
1 /*
2  * This file is part of the DETMON Pipeline
3  * Copyright (C) 2013 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18  */
19 
20 /*
21  * $Author: jtaylor $
22  * $Date: 2013-08-07 09:32:50 $
23  * $Revision: 1.6 $
24  */
25 #ifdef HAVE_CONFIG_H
26 #include <config.h>
27 #endif
28 
29 /*----------------------------------------------------------------------------
30  Includes
31  ----------------------------------------------------------------------------*/
32 
33 #include "detmon.h"
34 #include "detmon_lg.h"
35 
36 /*----------------------------------------------------------------------------
37  Defines
38  ----------------------------------------------------------------------------*/
39 
40 #define RECIPE_NAME "detmon_ir_lg_mr"
41 
42 #define NIR TRUE
43 
44 /*----------------------------------------------------------------------------
45  Functions prototypes
46  ----------------------------------------------------------------------------*/
47 int
48 detmon_lg_dfs_set_groups(cpl_frameset * set,
49  const char *tag_on, const char *tag_off);
50 
51 CPL_RECIPE_DEFINE(detmon_ir_lg_mr, DETMON_BINARY_VERSION,
52  detmon_lg_fill_parlist_nir_default_mr(recipe->parameters,
53  RECIPE_NAME, "detmon"),
54  "Julian Taylor", PACKAGE_BUGREPORT, "2013",
55  "Linearity/Gain recipe for the IR domain, multi "
56  "region version",
57  detmon_lg_get_description(RECIPE_NAME, "DETMON",
58  DETMON_LG_ON_RAW_NEW,
59  DETMON_LG_OFF_RAW_NEW,
60  DETMON_LG_ON_RAW_OLD,
61  DETMON_LG_OFF_RAW_OLD));
64 static int detmon_ir_lg_mr(cpl_frameset * frameset,
65  const cpl_parameterlist * parlist)
66 {
67  return detmon_lg_mr(frameset, parlist, RECIPE_NAME, NIR);
68 }
69