Defines | |
#define | RECIPE_ID "xsh_predict" |
#define | RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer" |
#define | RECIPE_CONTACT "amodigli@eso.org" |
Functions | |
static int | xsh_predict_create (cpl_plugin *plugin) |
Setup the recipe options. | |
static int | xsh_predict_exec (cpl_plugin *plugin) |
Execute the plugin instance given by the interface. | |
static int | xsh_predict_destroy (cpl_plugin *plugin) |
Destroy what has been created by the 'create' function. | |
static void | xsh_predict (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 cpl_error_code | xsh_params_set_defaults (cpl_parameterlist *pars, xsh_instrument *inst, xsh_detect_arclines_param *detect_arclines_p) |
Variables | |
static char | xsh_predict_description_short [] |
static char | xsh_predict_description [] |
This recipe is used to obtain a first guess dispersion solution and order table. It calculates the geometry of the spectral format from a physical model and compares the predicted line positions to the ones on the calibration frame See man-page for details.
#define RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer" |
Definition at line 81 of file xsh_predict.c.
#define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 82 of file xsh_predict.c.
#define RECIPE_ID "xsh_predict" |
Definition at line 80 of file xsh_predict.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 151 of file xsh_predict.c.
References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_predict_create(), xsh_predict_description, xsh_predict_description_short, xsh_predict_destroy(), and xsh_predict_exec().
static cpl_error_code xsh_params_set_defaults | ( | cpl_parameterlist * | pars, | |
xsh_instrument * | inst, | |||
xsh_detect_arclines_param * | detect_arclines_p | |||
) | [static] |
Definition at line 360 of file xsh_predict.c.
References check, xsh_detect_arclines_param::fit_window_hsize, xsh_detect_arclines_param::min_sn, RECIPE_ID, XSH_ARM_NIR, XSH_ARM_UVB, xsh_instrument_get_arm(), and xsh_parameters_find().
Referenced by xsh_predict().
static void xsh_predict | ( | 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 397 of file xsh_predict.c.
References check, exptime, instrument, RECIPE_ID, xsh_add_product_image(), xsh_add_product_table(), XSH_ARC_LINE_LIST_INTMON, XSH_ARM_NIR, XSH_ASSURE_NOT_ILLEGAL_MSG, xsh_begin(), xsh_check_input_is_unbinned(), xsh_check_load_master_bpmap(), xsh_create_order_table(), xsh_detect_arclines(), xsh_detect_arclines_dan(), XSH_DETECT_ARCLINES_TYPE_MODEL, XSH_DETECT_ARCLINES_TYPE_POLY, xsh_dfs_split_nir(), xsh_end(), xsh_error_reset, xsh_find_arc_line_list(), xsh_find_frame_with_tag(), XSH_FMTCHK, xsh_frame_table_resid_merge(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_free_propertylist(), xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_get_arm(), xsh_instrument_get_config(), xsh_instrument_set_mode(), xsh_instrument_update_from_spectralformat(), XSH_MASTER_BIAS, XSH_MASTER_DARK, XSH_MOD_CFG_OPT_REC, XSH_MOD_CFG_TAB, xsh_mode_is_physmod(), XSH_MODE_SLIT, xsh_model_pipe_anneal(), xsh_msg, xsh_msg_warning, XSH_ORDER_TAB_RECOV, xsh_parameters_clipping_detect_arclines_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_get_int(), xsh_params_set_defaults(), xsh_pfits_get_exptime(), xsh_predict_description_short, xsh_prepare(), xsh_recipe_params_check(), XSH_SOLUTION_RELATIVE, XSH_SPECTRAL_FORMAT, xsh_stringcat_any(), xsh_subtract_bias(), xsh_subtract_dark(), xsh_subtract_nir_on_off(), xsh_table_merge_clean_and_resid_tabs(), XSH_THEO_TAB_SING, XSH_WAVE_TAB_GUESS, xsh_wavecal_qclog_intmon(), and xsh_wavetab_qc().
Referenced by xsh_predict_exec().
static int xsh_predict_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 193 of file xsh_predict.c.
References assure, check, RECIPE_ID, xsh_error_dump, XSH_GAUSSIAN_METHOD, xsh_init(), xsh_parameters_clipping_detect_arclines_create(), xsh_parameters_detect_arclines_create(), xsh_parameters_generic(), xsh_parameters_new_double(), xsh_parameters_new_int(), and xsh_parameters_pre_overscan().
Referenced by cpl_plugin_get_info().
static int xsh_predict_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
plugin | the plugin |
Definition at line 333 of file xsh_predict.c.
References assure, and xsh_free_parameterlist().
Referenced by cpl_plugin_get_info().
static int xsh_predict_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
plugin | the plugin |
Definition at line 300 of file xsh_predict.c.
References assure, xsh_error_dump, and xsh_predict().
Referenced by cpl_plugin_get_info().
char xsh_predict_description[] [static] |
Definition at line 105 of file xsh_predict.c.
Referenced by cpl_plugin_get_info().
char xsh_predict_description_short[] [static] |
"Compute a first guess dispersion solution and order table"
Definition at line 102 of file xsh_predict.c.
Referenced by cpl_plugin_get_info(), and xsh_predict().