Defines | |
| #define | RECIPE_ID "xsh_mbias" |
| #define | RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, A. Modigliani" |
| #define | RECIPE_CONTACT "amodigli@eso.org" |
Functions | |
| static int | xsh_mbias_create (cpl_plugin *plugin) |
| Setup the recipe options. | |
| static int | xsh_mbias_exec (cpl_plugin *plugin) |
| Execute the plugin instance given by the interface. | |
| static int | xsh_mbias_destroy (cpl_plugin *plugin) |
| Destroy what has been created by the 'create' function. | |
| static void | xsh_mbias (cpl_parameterlist *parameters, cpl_frameset *frameset) |
| Interpret the command line options and execute the data processing. | |
| int | cpl_plugin_get_info (cpl_pluginlist *list) |
| Build the list of available plugins, for this module. | |
Variables | |
| static char | xsh_mbias_description_short [] = "Create the master bias frame" |
| static char | xsh_mbias_description [] |
This recipe calculates the master bias frame See man-page for details.
| #define RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, A. Modigliani" |
Definition at line 76 of file xsh_mbias.c.
| #define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 77 of file xsh_mbias.c.
| #define RECIPE_ID "xsh_mbias" |
Definition at line 75 of file xsh_mbias.c.
| int cpl_plugin_get_info | ( | cpl_pluginlist * | list | ) |
Build the list of available plugins, for this module.
| list | the plugin list |
Create the recipe instance and make it available to the application using the interface. This function is exported.
Definition at line 126 of file xsh_mbias.c.
References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_mbias_create(), xsh_mbias_description, xsh_mbias_description_short, xsh_mbias_destroy(), and xsh_mbias_exec().
| static void xsh_mbias | ( | cpl_parameterlist * | parameters, | |
| cpl_frameset * | frameset | |||
| ) | [static] |
Interpret the command line options and execute the data processing.
| parameters | the parameters list | |
| frameset | the frames list |
In case of failure the cpl_error_code is set.
Definition at line 307 of file xsh_mbias.c.
References binx, biny, check, crh_clipping, instrument, method, RECIPE_ID, xsh_add_product_bpmap(), xsh_add_product_image(), xsh_add_product_pre(), xsh_badpixelmap_coadd(), xsh_begin(), XSH_BIAS, XSH_BIAS_REMOVE_CRH, XSH_BP_MAP_CP, XSH_BP_MAP_HP, xsh_check_load_master_bpmap(), xsh_create_master_bias(), xsh_create_master_bias2(), xsh_end(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_free_image(), xsh_free_imagelist(), xsh_free_propertylist(), XSH_GET_TAG_FROM_ARM, xsh_image_get_hot_cold_pixs(), xsh_instrument_arm_tostring(), xsh_instrument_free(), XSH_MASTER_BP_MAP, xsh_mbias_description_short, xsh_msg, xsh_msg_error, xsh_parameters_clipping_crh_get(), xsh_pfits_get_binx(), xsh_pfits_get_biny(), xsh_prepare(), and xsh_remove_crh_multiple().
Referenced by xsh_mbias_exec().
| static int xsh_mbias_create | ( | cpl_plugin * | plugin | ) | [static] |
Setup the recipe options.
| plugin | the plugin |
Create the recipe instance and make it available to the application using the interface.
Definition at line 168 of file xsh_mbias.c.
References assure, check, RECIPE_ID, xsh_error_dump, xsh_init(), xsh_parameters_clipping_crh_create(), xsh_parameters_fpn_create(), xsh_parameters_generic(), xsh_parameters_hot_cold_pix_create(), xsh_parameters_ron_create(), and xsh_parameters_struct_create().
Referenced by cpl_plugin_get_info().
| static int xsh_mbias_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
| plugin | the plugin |
Definition at line 273 of file xsh_mbias.c.
References assure, xsh_error_reset, and xsh_free_parameterlist().
Referenced by cpl_plugin_get_info().
| static int xsh_mbias_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
| plugin | the plugin |
Definition at line 240 of file xsh_mbias.c.
References assure, xsh_error_dump, and xsh_mbias().
Referenced by cpl_plugin_get_info().
char xsh_mbias_description[] [static] |
"This recipe creates a master bias frame by computing the median of all \
input bias frames.\n\
Input Frames : \n\
- A set of n RAW frames (Format=RAW, n >=3, Tag = BIAS_arm)\n\
- [OPTIONAL] A badpixel map (Format=QUP, Tag = MASTER_BP_MAP_arm)\n\
- [OPTIONAL] A map on non linear pixels (Format=QUP,RAW, Tag = BP_MAP_NL_arm)\n\
Products : \n\
- A master bias frame (Format=PRE, PRO.CATG = MASTER_BIAS_arm)\n\
- A cold pixel map frame (Format=PRE, PRO.CATG = BP_MAP_CP_arm)\n\
- A hot pixel map frame (Format=PRE, PRO.CATG = BP_MAP_HP_arm)\n\
- [if given in input] the master bp map is updated frame (Format=PRE, PRO.CATG = MASTER_BP_MAP_arm)\n"
Definition at line 99 of file xsh_mbias.c.
Referenced by cpl_plugin_get_info().
char xsh_mbias_description_short[] = "Create the master bias frame" [static] |
Definition at line 97 of file xsh_mbias.c.
Referenced by cpl_plugin_get_info(), and xsh_mbias().
1.6.1