X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions | Variables
xsh_respon_slit_offset

Macros

#define RECIPE_ID   "xsh_respon_slit_offset"
 
#define RECIPE_AUTHOR   "D. Bramich, 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_rectify_param *rectify_par, xsh_localize_obj_param *loc_obj_par)
 

Variables

static char xsh_respon_slit_offset_description_short []
 
static char xsh_respon_slit_offset_description []
 

Detailed Description

This recipe ... See man-page for details.

Macro Definition Documentation

◆ RECIPE_AUTHOR

#define RECIPE_AUTHOR   "D. Bramich, A.Modigliani"

Definition at line 72 of file xsh_respon_slit_offset.c.

◆ RECIPE_CONTACT

#define RECIPE_CONTACT   "amodigli@eso.org"

Definition at line 73 of file xsh_respon_slit_offset.c.

◆ RECIPE_ID

#define RECIPE_ID   "xsh_respon_slit_offset"

Definition at line 71 of file xsh_respon_slit_offset.c.

Function Documentation

◆ cpl_plugin_get_info()

int cpl_plugin_get_info ( cpl_pluginlist *  list)

Build the list of available plugins, for this module.

Parameters
listthe plugin list
Returns
0 if everything is ok, -1 otherwise

Create the recipe instance and make it available to the application using the interface. This function is exported.

Definition at line 145 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().

◆ xsh_params_monitor()

static cpl_error_code xsh_params_monitor ( xsh_rectify_param rectify_par,
xsh_localize_obj_param loc_obj_par 
)
static

◆ 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
parametersthe parameters list
framesetthe 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 clean offset frames

< frameset of rectified frames

< frameset of rectified frames

< Final (result) frame

< Final (result) frame

Definition at line 375 of file xsh_respon_slit_offset.c.

References xsh_instrument::arm, assure, calc_curve_qc(), calc_resp_qc(), check, CLEAN_METHOD, xsh_rectify_param::conserve_flux, exptime, xsh_pre::exptime, get_average_qc_from_raws(), get_chromatic_eff(), instrument, LOCALIZATION_METHOD, xsh_extract_param::method, xsh_instrument::mode, RECIPE_ID, xsh_add_afc_info(), xsh_add_product_image(), xsh_add_product_orders_spectrum(), xsh_add_product_spectrum(), xsh_add_product_table(), xsh_add_temporary_file(), XSH_ARM_NIR, XSH_ARM_UVB, XSH_ATMOS_EXT, xsh_begin(), xsh_calib_nir_corr_if_JH(), xsh_calib_nir_respon_corr_if_JH(), xsh_check_get_map(), xsh_combine_nod(), xsh_compute_efficiency(), xsh_compute_resampling_accuracy(), xsh_compute_response2(), xsh_compute_response_ord(), xsh_compute_wavelength_resampling_accuracy(), xsh_dfs_split_offset(), xsh_divide_flat(), xsh_end(), xsh_ensure_raws_input_offset_recipe_is_proper(), xsh_error_reset, xsh_extract_clean(), xsh_find_disp_tab(), xsh_find_frame_with_tag(), xsh_find_slitmap(), xsh_find_wavemap(), xsh_flux_calibrate(), XSH_FLUX_STD_CAT, xsh_frame_table_monitor_flux_qc(), xsh_frameset_average_pre(), xsh_frameset_check_uniform_exptime(), xsh_frameset_crh_single(), xsh_frameset_ext_table_frames(), xsh_frameset_mflat_divide(), xsh_frameset_uniform_bin(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_get_dispersion_calibs(), xsh_get_normal_calibs(), xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_nir_corr_if_JH(), xsh_localize_obj(), XSH_MASTER_DARK, xsh_merge_ord(), XSH_MODE_SLIT, xsh_monitor_spectrum1D_extra_qc(), xsh_monitor_spectrum1D_flux(), xsh_msg, xsh_msg_dbg_low, xsh_msg_dbg_medium, xsh_msg_error, xsh_msg_warning, xsh_multiply_flat(), XSH_ORDER2D, xsh_parameters_get_boolean(), xsh_parameters_get_int(), xsh_parameters_interpolate_bp_get(), xsh_params_monitor(), xsh_pre_frameset_subtract_frame(), xsh_pre_free(), xsh_pre_load(), xsh_prepare(), xsh_print_rec_status(), xsh_recipe_params_check(), xsh_rectify(), xsh_rectify_params_set_defaults(), XSH_RESP_FIT_POINTS_CAT, xsh_respon_slit_offset_description_short, xsh_set_recipe_file_prefix(), xsh_set_recipe_sky_file_prefix(), XSH_SKY_MAP, XSH_SKY_SLIT, xsh_slit_offset_get_params(), XSH_STD_FLUX_SLIT_OFFSET, xsh_subtract_sky_offset(), and XSH_TELL_MOD_CAT.

Referenced by xsh_respon_slit_offset_exec().

◆ xsh_respon_slit_offset_create()

static int xsh_respon_slit_offset_create ( cpl_plugin *  plugin)
static

◆ xsh_respon_slit_offset_destroy()

static int xsh_respon_slit_offset_destroy ( cpl_plugin *  plugin)
static

Destroy what has been created by the 'create' function.

Parameters
pluginthe plugin
Returns
0 if everything is ok

Definition at line 319 of file xsh_respon_slit_offset.c.

References assure, xsh_error_reset, and xsh_free_parameterlist().

Referenced by cpl_plugin_get_info().

◆ xsh_respon_slit_offset_exec()

static int xsh_respon_slit_offset_exec ( cpl_plugin *  plugin)
static

Execute the plugin instance given by the interface.

Parameters
pluginthe plugin
Returns
0 if everything is ok

Definition at line 285 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().

Variable Documentation

◆ xsh_respon_slit_offset_description

char xsh_respon_slit_offset_description[]
static

Definition at line 96 of file xsh_respon_slit_offset.c.

Referenced by cpl_plugin_get_info().

◆ xsh_respon_slit_offset_description_short

char xsh_respon_slit_offset_description_short[]
static
Initial value:
=
"Compute the response function in SLIT and on/off mode"

Definition at line 93 of file xsh_respon_slit_offset.c.

Referenced by cpl_plugin_get_info(), and xsh_respon_slit_offset().