IIINSTRUMENT Pipeline Reference Manual 1.3.12
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
37/*----------------------------------------------------------------------------
38 Defines
39 ----------------------------------------------------------------------------*/
40
41#define RECIPE_NAME "detmon_opt_lg_mr"
42
43#define OPT FALSE
44
45/*----------------------------------------------------------------------------
46 Functions prototypes
47 ----------------------------------------------------------------------------*/
48int
49detmon_lg_dfs_set_groups(cpl_frameset * set,
50 const char *tag_on, const char *tag_off);
51
52CPL_RECIPE_DEFINE(detmon_opt_lg_mr, DETMON_BINARY_VERSION,
53 detmon_lg_fill_parlist_opt_default_mr(recipe->parameters,
54 RECIPE_NAME, "detmon"),
55 "Julian Taylor", PACKAGE_BUGREPORT, "2013",
56 "Linearity/Gain recipe for the optical domain, multi "
57 "region version",
58 detmon_lg_get_description(RECIPE_NAME, "DETMON",
59 DETMON_LG_ON_RAW_NEW,
60 DETMON_LG_OFF_RAW_NEW,
61 DETMON_LG_ON_RAW_OLD,
62 DETMON_LG_OFF_RAW_OLD));
65static int detmon_opt_lg_mr(cpl_frameset * frameset,
66 const cpl_parameterlist * parlist)
67{
68 return detmon_lg_mr(frameset, parlist, RECIPE_NAME, OPT);
69}
70