Defines | |
#define | RECIPE_ID "xsh_respon_slit_nod" |
#define | RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich A. Modigliani" |
#define | RECIPE_CONTACT "amodigli@eso.org" |
#define | RECIPE_ID "xsh_scired_slit_nod" |
#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_respon_slit_nod_create (cpl_plugin *plugin) |
Setup the recipe options. | |
static int | xsh_respon_slit_nod_exec (cpl_plugin *plugin) |
Execute the plugin instance given by the interface. | |
static int | xsh_respon_slit_nod_destroy (cpl_plugin *plugin) |
Destroy what has been created by the 'create' function. | |
static cpl_error_code | xsh_respon_slit_nod (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 int | xsh_scired_slit_nod_create (cpl_plugin *plugin) |
Setup the recipe options. | |
static int | xsh_scired_slit_nod_exec (cpl_plugin *plugin) |
Execute the plugin instance given by the interface. | |
static int | xsh_scired_slit_nod_destroy (cpl_plugin *plugin) |
Destroy what has been created by the 'create' function. | |
static void | xsh_scired_slit_nod (cpl_parameterlist *parameters, cpl_frameset *frameset) |
Corrects input parameters for binning. | |
static void | xsh_get_binning (cpl_frameset *raws, int *binx, int *biny) |
set binning | |
Variables | |
static char | xsh_respon_slit_nod_description_short [] |
static char | xsh_respon_slit_nod_description [] |
static char | xsh_scired_slit_nod_description_short [] |
static char | xsh_scired_slit_nod_description [] |
This recipe ... See man-page for details.
#define RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich A. Modigliani" |
Definition at line 76 of file xsh_scired_slit_nod.c.
#define RECIPE_AUTHOR "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich A. Modigliani" |
Definition at line 80 of file xsh_respon_slit_nod.c.
#define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 77 of file xsh_scired_slit_nod.c.
#define RECIPE_CONTACT "amodigli@eso.org" |
Definition at line 81 of file xsh_respon_slit_nod.c.
#define RECIPE_ID "xsh_scired_slit_nod" |
Definition at line 75 of file xsh_scired_slit_nod.c.
#define RECIPE_ID "xsh_respon_slit_nod" |
Definition at line 79 of file xsh_respon_slit_nod.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_scired_slit_nod.c.
References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_scired_slit_nod_create(), xsh_scired_slit_nod_description, xsh_scired_slit_nod_description_short, xsh_scired_slit_nod_destroy(), and xsh_scired_slit_nod_exec().
static void xsh_get_binning | ( | cpl_frameset * | raws, | |
int * | binx, | |||
int * | biny | |||
) | [static] |
set binning
raws | input raw frames | |
binx | x binning | |
biny | y binning |
Definition at line 390 of file xsh_scired_slit_nod.c.
References check, XSH_ASSURE_NOT_ILLEGAL_MSG, XSH_ASSURE_NOT_NULL_MSG, xsh_free_propertylist(), xsh_pfits_get_binx(), and xsh_pfits_get_biny().
Referenced by xsh_scired_slit_nod().
static cpl_error_code xsh_respon_slit_nod | ( | cpl_parameterlist * | parameters, | |
cpl_frameset * | frameset | |||
) | [static] |
Interpret the command line options and execute the data processing.
parameters | the parameters list | |
frameset | the frames listxsh_utils_image.c |
In case of failure the cpl_error_code is set.
< Final (result) frame
< Final (result) frame
< Final (result) frame
< Final (result) frame
< normalized (T,gain,atm-ext) 1D frame
< normalized (T,gain,atm-ext) 2D frame
Definition at line 385 of file xsh_respon_slit_nod.c.
References xsh_instrument::arm, assure, check, CLEAN_METHOD, xsh_rectify_param::conserve_flux, exptime, instrument, LOC_MANUAL_METHOD, LOCALIZATION_METHOD, xsh_extract_param::method, xsh_localize_obj_param::method, xsh_instrument::mode, RECIPE_ID, xsh_combine_nod_param::throwname, xsh_localize_obj_param::use_skymask, xsh_add_afc_info(), xsh_add_product_image(), xsh_add_product_pre(), xsh_add_product_spectrum(), xsh_add_product_table(), XSH_ARM_NIR, XSH_ATMOS_EXT, xsh_begin(), xsh_calib_nir_respon_corr_if_JH(), xsh_combine_nod(), xsh_compute_efficiency(), xsh_compute_resampling_accuracy(), xsh_compute_response2(), xsh_compute_response_ord(), xsh_compute_wavelength_resampling_accuracy(), xsh_end(), xsh_ensure_raws_number_is_even(), xsh_error_msg, xsh_extract_clean(), xsh_find_frame_with_tag(), xsh_flux_calibrate(), XSH_FLUX_STD_CAT, xsh_frame_table_monitor_flux_qc(), xsh_frameset_check_uniform_exptime(), xsh_frameset_crh_single(), xsh_frameset_uniform_bin(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_free_propertylist(), XSH_GET_TAG_FROM_ARM, XSH_HIGH_ABS_WIN, xsh_instrument_free(), xsh_instrument_nir_corr_if_JH(), xsh_localize_obj(), xsh_merge_ord(), XSH_MODE_SLIT, xsh_monitor_spectrum1D_flux(), XSH_MRESPONSE_MERGE1D_SLIT, xsh_msg, xsh_msg_dbg_low, xsh_msg_dbg_medium, xsh_msg_error, xsh_msg_warning, xsh_nod_group_by_reloff(), XSH_OBJECT_SLIT_NOD, XSH_ORDER2D, xsh_order_frameset_by_date(), xsh_parameters_get_boolean(), xsh_parameters_interpolate_bp_get(), xsh_pfits_get_exptime(), xsh_prepare(), xsh_print_rec_status(), xsh_recipe_params_check(), xsh_respon_slit_nod_description_short, xsh_scired_nod_get_parameters(), xsh_scired_slit_nod_accurate(), xsh_scired_slit_nod_fast(), xsh_scired_slit_nod_get_calibs(), xsh_set_recipe_file_prefix(), xsh_stack_frames_get(), XSH_STD_FLUX_SLIT_NOD, XSH_STD_TELL_SLIT_NOD, xsh_subtract_sky_nod(), and XSH_TELL_MOD_CAT.
Referenced by xsh_respon_slit_nod_exec().
static int xsh_respon_slit_nod_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_respon_slit_nod.c.
References assure, check, COMBINE_MEAN_METHOD, LOC_GAUSSIAN_METHOD, MAX_SLIT, MIN_SLIT, xsh_combine_nod_param::nod_clip, xsh_combine_nod_param::nod_clip_diff, xsh_combine_nod_param::nod_clip_niter, xsh_combine_nod_param::nod_clip_sigma, NOD_METHOD, xsh_combine_nod_param::nod_min, xsh_localize_obj_param::nod_step, RECIPE_ID, xsh_combine_nod_param::throwname, xsh_error_dump, xsh_init(), xsh_parameters_combine_nod_create(), xsh_parameters_decode_bp(), xsh_parameters_extract_create(), xsh_parameters_generic(), xsh_parameters_interpolate_bp_create(), xsh_parameters_localize_obj_create(), xsh_parameters_new_boolean(), xsh_parameters_new_double(), xsh_parameters_pre_overscan(), xsh_parameters_rectify_create(), xsh_parameters_remove_crh_single_create(), xsh_parameters_slit_limit_create(), and xsh_parameters_stack_create().
static int xsh_respon_slit_nod_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
plugin | the plugin |
Definition at line 347 of file xsh_respon_slit_nod.c.
References assure, xsh_error_reset, and xsh_free_parameterlist().
static int xsh_respon_slit_nod_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
plugin | the plugin |
Definition at line 313 of file xsh_respon_slit_nod.c.
References assure, xsh_error_dump, xsh_error_reset, and xsh_respon_slit_nod().
static void xsh_scired_slit_nod | ( | cpl_parameterlist * | parameters, | |
cpl_frameset * | frameset | |||
) | [static] |
Corrects input parameters for binning.
binx | x bin | |
biny | y bin |
In case of failure the cpl_error_code is set. 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 472 of file xsh_scired_slit_nod.c.
References xsh_instrument::arm, assure, binx, biny, check, CLEAN_METHOD, xsh_rectify_param::conserve_flux, instrument, LOC_MANUAL_METHOD, LOCALIZATION_METHOD, xsh_extract_param::method, xsh_localize_obj_param::method, xsh_instrument::mode, RECIPE_ID, xsh_combine_nod_param::throwname, xsh_localize_obj_param::use_skymask, xsh_add_afc_info(), xsh_add_product_image(), xsh_add_product_pre(), xsh_add_product_spectrum(), XSH_ARM_NIR, xsh_begin(), xsh_combine_nod(), xsh_compute_resampling_accuracy(), xsh_compute_wavelength_resampling_accuracy(), xsh_end(), xsh_ensure_raws_number_is_even(), xsh_error_msg, xsh_extract_clean(), xsh_find_frame_with_tag(), xsh_flux_calibrate(), xsh_frameset_check_uniform_exptime(), xsh_frameset_crh_single(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), xsh_get_binning(), XSH_GET_TAG_FROM_ARM, xsh_instrument_free(), xsh_instrument_get_arm(), xsh_instrument_nir_corr_if_JH(), xsh_localize_obj(), xsh_mark_tell(), xsh_merge_ord(), XSH_MODE_SLIT, xsh_monitor_spectrum1D_flux(), xsh_msg, xsh_msg_dbg_low, xsh_nod_group_by_reloff(), XSH_OBJECT_SLIT_NOD, XSH_ORDER2D, xsh_order_frameset_by_date(), xsh_parameters_get_boolean(), xsh_parameters_interpolate_bp_get(), xsh_prepare(), xsh_recipe_params_check(), xsh_scired_nod_get_parameters(), xsh_scired_slit_nod_accurate(), xsh_scired_slit_nod_description_short, xsh_scired_slit_nod_fast(), xsh_scired_slit_nod_get_calibs(), xsh_set_recipe_file_prefix(), xsh_stack_frames_get(), XSH_STD_FLUX_SLIT_NOD, XSH_STD_TELL_SLIT_NOD, xsh_subtract_sky_nod(), and XSH_TELL_MASK.
Referenced by xsh_scired_slit_nod_exec().
static int xsh_scired_slit_nod_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 189 of file xsh_scired_slit_nod.c.
References assure, check, COMBINE_MEAN_METHOD, LOC_GAUSSIAN_METHOD, MAX_SLIT, MIN_SLIT, xsh_combine_nod_param::nod_clip, xsh_combine_nod_param::nod_clip_diff, xsh_combine_nod_param::nod_clip_niter, xsh_combine_nod_param::nod_clip_sigma, NOD_METHOD, xsh_combine_nod_param::nod_min, xsh_localize_obj_param::nod_step, RECIPE_ID, xsh_combine_nod_param::throwname, xsh_error_dump, xsh_init(), xsh_parameters_combine_nod_create(), xsh_parameters_decode_bp(), xsh_parameters_extract_create(), xsh_parameters_generic(), xsh_parameters_interpolate_bp_create(), xsh_parameters_localize_obj_create(), xsh_parameters_new_boolean(), xsh_parameters_new_double(), xsh_parameters_pre_overscan(), xsh_parameters_rectify_create(), xsh_parameters_remove_crh_single_create(), xsh_parameters_slit_limit_create(), and xsh_parameters_stack_create().
Referenced by cpl_plugin_get_info().
static int xsh_scired_slit_nod_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
plugin | the plugin |
Definition at line 339 of file xsh_scired_slit_nod.c.
References assure, xsh_error_reset, and xsh_free_parameterlist().
Referenced by cpl_plugin_get_info().
static int xsh_scired_slit_nod_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
plugin | the plugin |
Definition at line 305 of file xsh_scired_slit_nod.c.
References assure, xsh_error_dump, xsh_error_reset, and xsh_scired_slit_nod().
Referenced by cpl_plugin_get_info().
char xsh_respon_slit_nod_description[] [static] |
Definition at line 104 of file xsh_respon_slit_nod.c.
char xsh_respon_slit_nod_description_short[] [static] |
"Reduce STD star frames in SLIT configuration and nod mode"
Definition at line 101 of file xsh_respon_slit_nod.c.
Referenced by xsh_respon_slit_nod().
char xsh_scired_slit_nod_description[] [static] |
"This recipe reduces science exposure in SLIT configuration and NOD mode\n\ Input Frames : \n\ - A set of n Science frames ( n even ), \ Tag = OBJECT_SLIT_NOD_arm\n\ - Spectral format table (Tag = SPECTRAL_FORMAT_TAB_arm)\n\ - [UVB,VIS] A master bias frame (Tag = MASTER_BIAS_arm)\n\ - A master flat frame (Tag = MASTER_FLAT_SLIT_arm)\n\ - An order table frame(Tag = ORDER_TABLE_EDGES_SLIT_arm)\n\ - [poly mode] A wave solution frame(Tag = WAVE_TAB_2D_arm)\n\ - [poly mode] A wave map frame(Tag = WAVE_MAP_arm)\n\ - [poly mode] A disp table frame(Tag = DISP_TAB_arm)\n\ - [physical model mode]A model cfg table (Format = TABLE, Tag = XSH_MOD_CFG_TAB_arm)\n\ - [OPTIONAL] A non-linear badpixel map (Tag = BP_MAP_NL_arm)\n\ - [OPTIONAL] A reference badpixel map (Tag = BP_MAP_RP_arm)\n\ - [OPTIONAL] The instrument response table (Tag = RESPONSE_MERGE1D_SLIT_arm)\n\ - [OPTIONAL] An atmospheric extinction table (Tag = ATMOS_EXT_arm)\n\ - [OPTIONAL] A telluric mask (Tag = TELL_MASK_arm)\n\ Products : \n\ - PREFIX_ORDER2D_arm (2 dimension)\n\ - PREFIX_ORDER1D_arm (1 dimension)\n\ - PREFIX_MERGE2D_arm (2 dimension)\n\ - PREFIX_MERGE1D_arm (1 dimension)\n\ - PREFIX_WAVE_MAP_arm, wave map image\n\ - PREFIX_SLIT_MAP_arm, slit map image\n\ - [OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_ORDER2D_arm (2 dimension)\n\ - [OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_ORDER1D_arm (1 dimension)\n\ - [OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_MERGE2D_arm (2 dimension)\n\ - [OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_MERGE1D_arm (1 dimension)\n\ - where PREFIX is SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC"
Definition at line 100 of file xsh_scired_slit_nod.c.
Referenced by cpl_plugin_get_info().
char xsh_scired_slit_nod_description_short[] [static] |
"Reduce science frames in SLIT configuration and nod mode"
Definition at line 97 of file xsh_scired_slit_nod.c.
Referenced by cpl_plugin_get_info(), and xsh_scired_slit_nod().