Defines | |
#define | RECIPE_ID "xsh_respon_slit_offset" |
#define | RECIPE_AUTHOR "A.Modigliani" |
#define | RECIPE_CONTACT "amodigli@eso.org" |
Functions | |
static int | xsh_respon_slit_offset_create (cpl_plugin *plugin) |
Setup the recipe options. | |
static int | xsh_respon_slit_offset_exec (cpl_plugin *plugin) |
Execute the plugin instance given by the interface. | |
static int | xsh_respon_slit_offset_destroy (cpl_plugin *plugin) |
Destroy what has been created by the 'create' function. | |
static cpl_error_code | xsh_respon_slit_offset (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_monitor (xsh_background_param *backg, xsh_rectify_param *rectify_par, xsh_localize_obj_param *loc_obj_par) |
static cpl_error_code | xsh_params_set_defaults (cpl_parameterlist *pars, xsh_instrument *inst, xsh_rectify_param *rectify_par) |
static cpl_error_code | xsh_params_bin_scale (cpl_frameset *raws, xsh_background_param *backg) |
scales relevant input parameters for binning | |
Variables | |
static char | xsh_respon_slit_offset_description_short [] |
static char | xsh_respon_slit_offset_description [] |
This recipe ... See man-page for details.
#define RECIPE_AUTHOR "A.Modigliani" |
Definition at line 70 of file xsh_respon_slit_offset.c.
#define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 71 of file xsh_respon_slit_offset.c.
#define RECIPE_ID "xsh_respon_slit_offset" |
Definition at line 69 of file xsh_respon_slit_offset.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 133 of file xsh_respon_slit_offset.c.
References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_respon_slit_offset_create(), xsh_respon_slit_offset_description, xsh_respon_slit_offset_description_short, xsh_respon_slit_offset_destroy(), and xsh_respon_slit_offset_exec().
static cpl_error_code xsh_params_bin_scale | ( | cpl_frameset * | raws, | |
xsh_background_param * | backg | |||
) | [static] |
scales relevant input parameters for binning
raws | the frames list | |
backg | the input parameter list |
In case of failure the cpl_error_code is set.
Definition at line 430 of file xsh_respon_slit_offset.c.
References binx, biny, check, xsh_background_param::radius_x, xsh_background_param::radius_y, xsh_free_propertylist(), xsh_msg, xsh_pfits_get_binx(), and xsh_pfits_get_biny().
Referenced by xsh_respon_slit_offset().
static cpl_error_code xsh_params_monitor | ( | xsh_background_param * | backg, | |
xsh_rectify_param * | rectify_par, | |||
xsh_localize_obj_param * | loc_obj_par | |||
) | [static] |
Definition at line 341 of file xsh_respon_slit_offset.c.
References xsh_localize_obj_param::loc_chunk_nb, xsh_localize_obj_param::nod_step, xsh_background_param::radius_x, xsh_background_param::radius_y, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, xsh_rectify_param::rectif_radius, xsh_background_param::sampley, xsh_background_param::smooth_x, xsh_background_param::smooth_y, and xsh_msg_dbg_low.
Referenced by xsh_respon_slit_offset().
static cpl_error_code xsh_params_set_defaults | ( | cpl_parameterlist * | pars, | |
xsh_instrument * | inst, | |||
xsh_rectify_param * | rectify_par | |||
) | [static] |
Definition at line 367 of file xsh_respon_slit_offset.c.
References check, RECIPE_ID, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, XSH_ARM_NIR, xsh_instrument_get_arm(), xsh_parameter_get_default_flag(), xsh_parameters_find(), XSH_SLIT_BIN_SIZE_PIPE_NIR, XSH_SLIT_BIN_SIZE_PIPE_UVB, XSH_WAVE_BIN_SIZE_PIPE_NIR, and XSH_WAVE_BIN_SIZE_PIPE_UVB.
Referenced by xsh_respon_slit_offset().
static cpl_error_code xsh_respon_slit_offset | ( | 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.
< Output of xsh_localize_object
< Output of remove_crh_single
< frameset of subtracted offset frames
< frameset of subtracted background frames
< frameset of clean offset frames
< frameset of rectified frames
< frameset of rectified frames
< Final (result) frame
< Final (result) frame
Definition at line 526 of file xsh_respon_slit_offset.c.
References assure, check, xsh_rectify_param::conserve_flux, xsh_pre::exptime, exptime, instrument, LOCALIZATION_METHOD, xsh_extract_param::method, xsh_instrument::mode, RECIPE_ID, xsh_add_product_image(), xsh_add_product_spectrum(), xsh_add_product_table(), xsh_add_product_table_multi(), XSH_ARM_NIR, XSH_ATMOS_EXT, xsh_begin(), xsh_combine_nod(), xsh_compute_response(), xsh_compute_response_ord(), xsh_dfs_split_offset(), xsh_divide_flat(), xsh_efficiency_compute(), xsh_end(), xsh_ensure_raws_input_offset_recipe_is_proper(), xsh_extract(), xsh_find_disp_tab(), xsh_find_frame_with_tag(), xsh_flux_calibrate(), XSH_FLUX_STD_CAT, xsh_frame_table_monitor_flux_qc(), xsh_frameset_average_pre(), xsh_frameset_ext_table_frames(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), XSH_HIGH_ABS_WIN, xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_get_arm(), xsh_localize_obj(), xsh_merge_ord(), XSH_MODE_SLIT, xsh_monitor_spectrum1D_flux(), xsh_msg, xsh_msg_dbg_low, xsh_msg_dbg_medium, xsh_msg_error, xsh_multiply_flat(), XSH_ORDER2D, xsh_params_bin_scale(), xsh_params_monitor(), xsh_params_set_defaults(), xsh_pre_frameset_subtract_frame(), xsh_pre_free(), xsh_pre_load(), xsh_prepare(), xsh_rectify(), xsh_remove_crh_single(), xsh_respon_slit_offset_description_short, xsh_set_recipe_file_prefix(), XSH_SKY_SLIT, xsh_slit_offset_get_calibs(), xsh_slit_offset_get_params(), XSH_STD_FLUX_SLIT_OFFSET, xsh_subtract_background(), and xsh_subtract_sky_offset().
Referenced by xsh_respon_slit_offset_exec().
static int xsh_respon_slit_offset_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 175 of file xsh_respon_slit_offset.c.
References assure, check, LOC_MANUAL_METHOD, LOCALIZATION_METHOD, RECIPE_ID, WEIGHTED_MERGE_METHOD, xsh_error_dump, xsh_init(), xsh_parameters_background_create(), xsh_parameters_clipping_crh_create(), xsh_parameters_combine_nod_create(), xsh_parameters_extract_create(), xsh_parameters_find(), xsh_parameters_generic(), xsh_parameters_localize_obj_create(), xsh_parameters_merge_ord_create(), xsh_parameters_new_boolean(), xsh_parameters_optimal_extract_create(), xsh_parameters_pre_overscan(), xsh_parameters_rectify_create(), xsh_parameters_remove_crh_single_create(), XSH_SLIT_BIN_SIZE_PIPE_NIR, and XSH_WAVE_BIN_SIZE_PIPE_NIR.
Referenced by cpl_plugin_get_info().
static int xsh_respon_slit_offset_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
plugin | the plugin |
Definition at line 311 of file xsh_respon_slit_offset.c.
References assure, xsh_error_reset, and xsh_free_parameterlist().
Referenced by cpl_plugin_get_info().
static int xsh_respon_slit_offset_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
plugin | the plugin |
Definition at line 277 of file xsh_respon_slit_offset.c.
References assure, xsh_error_dump, xsh_error_reset, and xsh_respon_slit_offset().
Referenced by cpl_plugin_get_info().
char xsh_respon_slit_offset_description[] [static] |
"This recipe reduces science exposure in SLIT configuration and on/off mode\n\ Input Frames : \n\ - A set of n Science frames ( n even ), \ Tag = STD_FLUX_SLIT_OFFSET_arm, SKY_SLIT_arm\n\ - Spectral format table (Tag = SPECTRAL_FORMAT_TAB_arm)\n\ - A master flat frame (Tag = MASTER_FLAT_SLIT_arm)\n\ - An order table frame(Tag = ORDER_TABLE_EDGES_SLIT_arm)\n\ - A wavelength calibration solution frame(Tag = WAVE_TAB_2D_arm)\n\ - [OPTIONAL] Table with dispersion coefficients (Tag = DISP_TAB_arm)\n\ - [OPTIONAL] A badpixel map (Tag = BADPIXEL_MAP_arm)\n\ - A standard star fluxes catalog (Tag = STD_STAR_CATALOG_arm Type = FLX)\n\ - An atmospheric extinction table (Tag = ATMOS_EXT_arm)\n\ Products : \n\ - [If STD is in catal] The response ord-by-ord function (Tag = RESPONSE_ORDER1D_SLIT_arm)\n\ - [If STD is in catal] The response merged function (Tag = RESPONSE_MERGE1D_SLIT_arm)\n\ - PREFIX_ORDER2D_arm extracted spectrum, order-by-order, 2D\n\ - PREFIX_ORDER1D_arm extracted spectrum, order-by-order, 1D\n\ - PREFIX_MERGE2D_arm merged spectrum, 2D\n\ - PREFIX_MERGE1D_arm merged spectrum, 1D\n\ - [If STD is in catal] Flux calibrated merged 2D spectrum (Tag = PREFIX_FLUXCAL2D_arm)\n\ - [If STD is in catal] Flux calibrated merged 1D spectrum (Tag = PREFIX_FLUXCAL1D_arm)\n\ - [If STD is in catal] The efficiency (Tag = EFFICIENCY_arm)\n\ - where PREFIX is SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC"
Definition at line 94 of file xsh_respon_slit_offset.c.
Referenced by cpl_plugin_get_info().
char xsh_respon_slit_offset_description_short[] [static] |
"Compute the response function in SLIT and on/off mode"
Definition at line 91 of file xsh_respon_slit_offset.c.
Referenced by cpl_plugin_get_info(), and xsh_respon_slit_offset().