37 #include "detmon_ronbias.h"
38 #include "detmon_darkron.h"
39 #include "irplib_plugin.h"
42 #define DETMON_RONBIAS_RAW "DARK"
45 #define RECIPE_NAME "detmon_darkron"
51 CPL_RECIPE_DEFINE(detmon_darkron, DETMON_BINARY_VERSION,
52 detmon_darkron_fill_parlist_default(recipe->parameters,
55 "Lander de Bilbao",
"lbilbao@eso.org",
"2007",
57 detmon_ronbias_get_description(
"detmon_darkron",
70 static int detmon_darkron(cpl_frameset * frameset,
71 const cpl_parameterlist * parlist)
73 cpl_propertylist * master =
74 detmon_fill_prolist(
"MASTER_BIAS",
"REDUCED",
"TECH", CPL_FALSE);
76 cpl_propertylist * bpmhot =
77 detmon_fill_prolist(
"BP_MAP_HP",
"REDUCED",
"TECH", CPL_FALSE);
79 cpl_propertylist * bpmcold =
80 detmon_fill_prolist(
"BP_MAP_CP",
"REDUCED",
"TECH", CPL_FALSE);
82 cpl_propertylist * bpmdev =
83 detmon_fill_prolist(
"BP_MAP_DP",
"REDUCED",
"TECH", CPL_FALSE);
85 const cpl_error_code error = detmon_ronbias(frameset,
94 PACKAGE
"/" PACKAGE_VERSION,
97 cpl_propertylist_delete(master);
98 cpl_propertylist_delete(bpmhot);
99 cpl_propertylist_delete(bpmcold);
100 cpl_propertylist_delete(bpmdev);
103 cpl_ensure_code(!error, error);
105 return CPL_ERROR_NONE;