36 #include "detmon_ronbias.h"
37 #include "detmon_darkron.h"
44 #define DETMON_RONBIAS_RAW "DARK"
47 #define RECIPE_NAME "detmon_darkron"
53 CPL_RECIPE_DEFINE(detmon_darkron, DETMON_BINARY_VERSION,
54 detmon_darkron_fill_parlist_default(recipe->parameters,
57 "Lander de Bilbao", PACKAGE_BUGREPORT,
"2007",
59 detmon_ronbias_get_description(
"detmon_darkron",
72 static int detmon_darkron(cpl_frameset * frameset,
73 const cpl_parameterlist * parlist)
75 cpl_propertylist * master =
76 detmon_fill_prolist(
"MASTER_BIAS",
"REDUCED",
"TECH", CPL_FALSE);
78 cpl_propertylist * bpmhot =
79 detmon_fill_prolist(
"BP_MAP_HP",
"REDUCED",
"TECH", CPL_FALSE);
81 cpl_propertylist * bpmcold =
82 detmon_fill_prolist(
"BP_MAP_CP",
"REDUCED",
"TECH", CPL_FALSE);
84 cpl_propertylist * bpmdev =
85 detmon_fill_prolist(
"BP_MAP_DP",
"REDUCED",
"TECH", CPL_FALSE);
87 const cpl_error_code error = detmon_ronbias(frameset,
96 PACKAGE
"/" PACKAGE_VERSION,
99 cpl_propertylist_delete(master);
100 cpl_propertylist_delete(bpmhot);
101 cpl_propertylist_delete(bpmcold);
102 cpl_propertylist_delete(bpmdev);
105 cpl_ensure_code(!error, error);
107 return CPL_ERROR_NONE;