|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | RECIPE_ID "xsh_wavecal" |
| #define | RECIPE_AUTHOR "L.Guglielmi" |
| #define | RECIPE_CONTACT "amodigli@eso.org" |
Functions | |
| static int | xsh_wavecal_create (cpl_plugin *plugin) |
| Setup the recipe options. | |
| static int | xsh_wavecal_exec (cpl_plugin *plugin) |
| Execute the plugin instance given by the interface. | |
| static int | xsh_wavecal_destroy (cpl_plugin *plugin) |
| Destroy what has been created by the 'create' function. | |
| static void | xsh_wavecal (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. | |
| static void | xsh_wavecal_get_parameters (cpl_parameterlist *parameters, xsh_follow_arclines_param *par) |
| static cpl_error_code | xsh_params_monitor (xsh_follow_arclines_param follow_param) |
| static cpl_error_code | xsh_params_set_defaults (cpl_parameterlist *pars, xsh_instrument *inst) |
| static cpl_error_code | xsh_params_bin_scale (cpl_frameset *raws, xsh_follow_arclines_param follow_param) |
| Scale input parameters. | |
Variables | |
| static char | xsh_wavecal_description_short [] |
| static char | xsh_wavecal_description [] |
This recipe calibrates the arc lines. See man-page for details.
| #define RECIPE_AUTHOR "L.Guglielmi" |
Definition at line 75 of file xsh_wavecal.c.
| #define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 76 of file xsh_wavecal.c.
| #define RECIPE_ID "xsh_wavecal" |
Definition at line 74 of file xsh_wavecal.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 144 of file xsh_wavecal.c.
References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_wavecal_create(), xsh_wavecal_description, xsh_wavecal_description_short, xsh_wavecal_destroy(), and xsh_wavecal_exec().
|
static |
Scale input parameters.
| raws | the frames list |
| follow_param | parameter structure to control line tilt follow |
In case of failure the cpl_error_code is set.
Definition at line 383 of file xsh_wavecal.c.
References binx, biny, check, xsh_follow_arclines_param::margin, xsh_follow_arclines_param::range, xsh_free_propertylist(), xsh_pfits_get_binx(), and xsh_pfits_get_biny().
Referenced by xsh_wavecal().
|
static |
Definition at line 336 of file xsh_wavecal.c.
References xsh_follow_arclines_param::margin, xsh_follow_arclines_param::range, and xsh_msg_dbg_low.
Referenced by xsh_wavecal().
|
static |
Definition at line 349 of file xsh_wavecal.c.
References check, RECIPE_ID, xsh_instrument_get_mode(), XSH_MODE_IFU, and xsh_parameters_find().
Referenced by xsh_wavecal().
|
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 427 of file xsh_wavecal.c.
References check, xsh_clipping_param::frac, instrument, xsh_follow_arclines_param::margin, xsh_clipping_param::niter, xsh_follow_arclines_param::range, RECIPE_ID, xsh_clipping_param::sigma, xsh_follow_arclines_param::specres_clipping, xsh_follow_arclines_param::tilt_clipping, xsh_add_product_image(), xsh_add_product_table(), XSH_ARC_LINE_LIST, XSH_ARM_NIR, XSH_ASSURE_NOT_ILLEGAL, XSH_ASSURE_NOT_ILLEGAL_MSG, XSH_ASSURE_NOT_NULL, xsh_begin(), xsh_check_load_master_bpmap(), xsh_check_subtract_dark(), xsh_create_model_map(), xsh_dfs_split_nir(), xsh_end(), xsh_error_reset, xsh_find_disp_tab(), xsh_find_frame_with_tag(), xsh_find_master_dark(), xsh_find_order_tab_edges(), xsh_find_slitmap(), xsh_find_spectral_format(), xsh_find_wave_tab_2d(), xsh_find_wavemap(), xsh_follow_arclines_ifu(), xsh_follow_arclines_slit(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_get_arm(), xsh_instrument_get_mode(), xsh_instrument_mode_tostring(), xsh_instrument_update_from_spectralformat(), XSH_MASTER_BIAS, XSH_MASTER_DARK, XSH_MOD_CFG_OPT_2D, XSH_MOD_CFG_TAB, XSH_MODE_SLIT, xsh_model_temperature_update_frame(), xsh_msg, xsh_msg_dbg_low, xsh_msg_warning, xsh_params_bin_scale(), xsh_params_monitor(), xsh_params_set_defaults(), xsh_prepare(), xsh_recipe_params_check(), XSH_SLIT_MAP_MODEL, xsh_subtract_bias(), xsh_subtract_nir_on_off(), XSH_WAVE_MAP_MODEL, XSH_WAVECAL, xsh_wavecal_description_short, and xsh_wavecal_get_parameters().
Referenced by xsh_wavecal_exec().
|
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 186 of file xsh_wavecal.c.
References assure, check, RECIPE_ID, xsh_error_dump, xsh_init(), xsh_parameters_clipping_specres_create(), xsh_parameters_clipping_tilt_create(), xsh_parameters_decode_bp(), xsh_parameters_generic(), xsh_parameters_pre_overscan(), xsh_parameters_wavecal_margin_create(), xsh_parameters_wavecal_range_create(), and xsh_parameters_wavecal_s_n_create().
Referenced by cpl_plugin_get_info().
|
static |
Destroy what has been created by the 'create' function.
| plugin | the plugin |
Definition at line 285 of file xsh_wavecal.c.
References assure, and xsh_free_parameterlist().
Referenced by cpl_plugin_get_info().
|
static |
Execute the plugin instance given by the interface.
| plugin | the plugin |
Definition at line 250 of file xsh_wavecal.c.
References assure, xsh_error_dump, and xsh_wavecal().
Referenced by cpl_plugin_get_info().
|
static |
Definition at line 311 of file xsh_wavecal.c.
References check, xsh_follow_arclines_param::margin, xsh_follow_arclines_param::range, RECIPE_ID, xsh_follow_arclines_param::s_n_min, xsh_follow_arclines_param::specres_clipping, xsh_follow_arclines_param::tilt_clipping, xsh_parameters_clipping_specres_get(), xsh_parameters_clipping_tilt_get(), xsh_parameters_wavecal_margin_get(), xsh_parameters_wavecal_range_get(), and xsh_parameters_wavecal_s_n_get().
Referenced by xsh_wavecal().
|
static |
Definition at line 99 of file xsh_wavecal.c.
Referenced by cpl_plugin_get_info().
|
static |
Definition at line 96 of file xsh_wavecal.c.
Referenced by cpl_plugin_get_info(), and xsh_wavecal().