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

Macros

#define RECIPE_ID   "xsh_scired_slit_stare"
 
#define RECIPE_AUTHOR   "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani"
 
#define RECIPE_CONTACT   "amodigli@eso.org"
 

Functions

static int xsh_scired_slit_stare_create (cpl_plugin *plugin)
 Setup the recipe options.
 
static int xsh_scired_slit_stare_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
static int xsh_scired_slit_stare_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static cpl_error_code xsh_scired_slit_stare (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, xsh_opt_extract_param *opt_extract_par, int sub_sky_nbkpts1, int sub_sky_nbkpts2)
 

Variables

static char xsh_scired_slit_stare_description_short []
 
static char xsh_scired_slit_stare_description []
 

Detailed Description

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

Macro Definition Documentation

◆ RECIPE_AUTHOR

#define RECIPE_AUTHOR   "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani"

Definition at line 77 of file xsh_scired_slit_stare.c.

◆ RECIPE_CONTACT

#define RECIPE_CONTACT   "amodigli@eso.org"

Definition at line 78 of file xsh_scired_slit_stare.c.

◆ RECIPE_ID

#define RECIPE_ID   "xsh_scired_slit_stare"

Definition at line 76 of file xsh_scired_slit_stare.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 164 of file xsh_scired_slit_stare.c.

References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_scired_slit_stare_create(), xsh_scired_slit_stare_description, xsh_scired_slit_stare_description_short, xsh_scired_slit_stare_destroy(), and xsh_scired_slit_stare_exec().

◆ xsh_params_monitor()

static cpl_error_code xsh_params_monitor ( xsh_rectify_param rectify_par,
xsh_localize_obj_param loc_obj_par,
xsh_opt_extract_param opt_extract_par,
int  sub_sky_nbkpts1,
int  sub_sky_nbkpts2 
)
static

◆ xsh_scired_slit_stare()

static cpl_error_code xsh_scired_slit_stare ( 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.

< Nb of breakpoints for the first call to subtract_sky_single

< Nb of breakpoints for the second call to subtract_sky_single

< if 0 DO NOT subtract sky single

< Output of remove_crh

< Output of subtract dark

< Output of subtract background

< Output of xsh_divide_flat

< Output of xsh_subtract_sky_single

< Output of xsh_subtract_sky_single Second pass (with localization table)

< Output of xsh_rectfiy

< Output of xsh_localize_object

< Output of remove_crh_single

Definition at line 441 of file xsh_scired_slit_stare.c.

References xsh_instrument::arm, calc_curve_qc(), check, check_msg, xsh_rectify_param::conserve_flux, get_average_qc_from_raws(), instrument, LOCALIZATION_METHOD, xsh_background_param::method, RECIPE_ID, SUBTRACT_SKY_SINGLE_NBKPTS, xsh_add_afc_info(), xsh_add_product_image(), xsh_add_product_orders_spectrum(), xsh_add_product_pre(), xsh_add_product_spectrum(), xsh_add_product_table(), xsh_add_sdp_product_spectrum(), xsh_add_temporary_file(), XSH_ARM_NIR, XSH_ARM_UVB, XSH_ATMOS_EXT, xsh_begin(), xsh_check_divide_flat(), xsh_check_remove_crh_multiple(), xsh_check_subtract_bias(), xsh_check_subtract_dark(), xsh_check_subtract_sky_single(), xsh_compute_resampling_accuracy(), xsh_compute_wavelength_resampling_accuracy(), xsh_end(), xsh_extract_clean(), xsh_find_disp_tab(), xsh_find_frame_with_tag(), xsh_flux_calibrate(), xsh_flux_calibrate1D(), xsh_frameset_check_uniform_exptime(), xsh_frameset_crh_single(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_free_propertylist(), XSH_GET_TAG_FROM_ARM, xsh_image_cut_dichroic_uvb(), xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_get_arm(), xsh_instrument_nir_corr_if_JH(), xsh_mark_tell(), xsh_merge_ord(), xsh_monitor_spectrum1D_extra_qc(), xsh_monitor_spectrum1D_flux(), XSH_MRESPONSE_MERGE1D_SLIT, xsh_msg, xsh_msg_dbg_low, xsh_msg_error, xsh_msg_warning, XSH_OBJECT_SLIT_STARE, xsh_opt_extract(), XSH_ORDER2D, xsh_parameters_bary_corr_get(), xsh_parameters_cut_uvb_spectrum_get(), xsh_parameters_get_int(), xsh_parameters_interpolate_bp_get(), xsh_parameters_subtract_sky_single_get_true(), xsh_params_monitor(), xsh_pre_free(), xsh_pre_load(), xsh_pre_save(), xsh_prepare(), xsh_recipe_params_check(), xsh_rectify(), xsh_rectify_params_set_defaults(), xsh_remove_crh_single_params_set_defaults(), XSH_RESPONSE_MERGE1D_SLIT, xsh_scired_slit_stare_description_short, xsh_set_recipe_file_prefix(), xsh_set_recipe_sky_file_prefix(), XSH_SKY_MAP, XSH_SKY_SLIT, xsh_slit_stare_correct_crh_and_sky(), xsh_slit_stare_get_calibs(), xsh_slit_stare_get_maps(), xsh_slit_stare_get_params(), XSH_SLIT_STARE_REMOVE_CRH, xsh_spectrum_cut_dichroic_uvb(), xsh_spectrum_orders_cut_dichroic_uvb(), xsh_stack_frames_get(), xsh_stare_params_bin_scale(), XSH_STD_FLUX_SLIT_STARE, XSH_STD_TELL_SLIT_STARE, xsh_subtract_background(), and XSH_TELL_MASK.

Referenced by xsh_scired_slit_stare_exec().

◆ xsh_scired_slit_stare_create()

static int xsh_scired_slit_stare_create ( cpl_plugin *  plugin)
static

◆ xsh_scired_slit_stare_destroy()

static int xsh_scired_slit_stare_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 377 of file xsh_scired_slit_stare.c.

References assure, xsh_error_reset, and xsh_free_parameterlist().

Referenced by cpl_plugin_get_info().

◆ xsh_scired_slit_stare_exec()

static int xsh_scired_slit_stare_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 343 of file xsh_scired_slit_stare.c.

References assure, xsh_error_dump, xsh_error_reset, and xsh_scired_slit_stare().

Referenced by cpl_plugin_get_info().

Variable Documentation

◆ xsh_scired_slit_stare_description

char xsh_scired_slit_stare_description[]
static

Definition at line 102 of file xsh_scired_slit_stare.c.

Referenced by cpl_plugin_get_info().

◆ xsh_scired_slit_stare_description_short

char xsh_scired_slit_stare_description_short[]
static
Initial value:
=
"Reduce science exposure in SLIT configuration and stare mode"

Definition at line 99 of file xsh_scired_slit_stare.c.

Referenced by cpl_plugin_get_info(), and xsh_scired_slit_stare().