DETMON Pipeline Reference Manual  1.3.0
detmon_opt_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 
34 #include "detmon.h"
35 #include "detmon_lg.h"
36 #include "irplib_plugin.h"
37 #include <cpl.h>
38 
39 #define RECIPE_NAME "detmon_opt_lg_mr"
40 
41 #define OPT FALSE
42 
43 /*----------------------------------------------------------------------------
44  Functions prototypes
45  ----------------------------------------------------------------------------*/
46 int
47 detmon_lg_dfs_set_groups(cpl_frameset * set,
48  const char *tag_on, const char *tag_off);
49 
50 CPL_RECIPE_DEFINE(detmon_opt_lg_mr, DETMON_BINARY_VERSION,
51  detmon_lg_fill_parlist_opt_default_mr(recipe->parameters,
52  RECIPE_NAME, "detmon"),
53  "Julian Taylor", "jtaylor@partner.eso.org", "2013",
54  "Linearity/Gain recipe for the optical domain, multi "
55  "region version",
56  detmon_lg_get_description(RECIPE_NAME, "DETMON",
57  DETMON_LG_ON_RAW_NEW,
58  DETMON_LG_OFF_RAW_NEW,
59  DETMON_LG_ON_RAW_OLD,
60  DETMON_LG_OFF_RAW_OLD));
63 static int detmon_opt_lg_mr(cpl_frameset * frameset,
64  const cpl_parameterlist * parlist)
65 {
66  return detmon_lg_mr(frameset, parlist, RECIPE_NAME, OPT);
67 }
68