#include <cpl.h>
#include <xsh_data_instrument.h>
Go to the source code of this file.
Data Structures | |
struct | xsh_clipping_param |
struct | xsh_detect_order_param |
struct | xsh_d2_detect_order_param |
struct | xsh_detect_continuum_param |
struct | xsh_background_param |
struct | xsh_follow_arclines_param |
struct | xsh_detect_arclines_param |
struct | xsh_remove_crh_single_param |
struct | xsh_rectify_param |
struct | xsh_localize_obj_param |
struct | xsh_localize_ifu_param |
struct | xsh_extract_param |
struct | xsh_interpolate_bp_param |
struct | xsh_merge_param |
struct | xsh_subtract_sky_single_param |
struct | xsh_dispersol_param |
struct | xsh_combine_nod_param |
struct | xsh_subtract_nod_param |
struct | xsh_opt_extract_param |
struct | xsh_hot_cold_pix_param |
struct | xsh_fpn_param |
struct | xsh_ron_param |
struct | xsh_stack_param |
struct | xsh_prescan_param |
struct | xsh_overscan_param |
struct | xsh_ref_param |
struct | xsh_struct_param |
struct | xsh_ron_dark_param |
struct | xsh_slit_limit_param |
struct | xsh_compute_response_param |
Defines | |
#define | DETECT_CONTINUUM_POLYNOMIAL_DEGREE 5 |
#define | WAVECAL_RANGE_DEFAULT 6 |
#define | WAVECAL_MARGIN_DEFAULT 3 |
#define | DETECT_ARCLINES_POLYNOMIAL_DEGREE 5 |
#define | RECTIFY_KERNEL_PRINT(method) |
#define | LOCALIZE_METHOD_PRINT(method) |
#define | EXTRACT_METHOD_PRINT(method) |
#define | MERGE_METHOD_PRINT(merge_method) |
#define | SUBTRACT_SKY_SINGLE_NBKPTS 1000 |
#define | SKY_METHOD_PRINT(method) |
#define | BSPLINE_SAMPLING_PRINT(method) |
#define | COMBINE_METHOD_PRINT(method) |
#define | OPTEXTRACT_METHOD_PRINT(method) |
#define | DECODE_BP_FLAG_MAX 2147483647 |
#define | DECODE_BP_FLAG_ALL 2146435071 |
#define | DECODE_BP_FLAG_DEF 2144337919 |
Enumerations | |
enum | xsh_find_center_method { XSH_GAUSSIAN_METHOD, XSH_BARYCENTER_METHOD } |
enum | localize_method { LOC_MANUAL_METHOD, LOC_MAXIMUM_METHOD, LOC_GAUSSIAN_METHOD } |
enum | extract_method { LOCALIZATION_METHOD, FULL_METHOD, NOD_METHOD, CLEAN_METHOD } |
enum | merge_method { WEIGHTED_MERGE_METHOD, MEAN_MERGE_METHOD } |
enum | sky_method { BSPLINE_METHOD, MEDIAN_METHOD } |
enum | bspline_sampling { UNIFORM, FINE } |
enum | combine_method { COMBINE_MEDIAN_METHOD, COMBINE_MEAN_METHOD } |
enum | optextract_method { GAUSS_METHOD, GENERAL_METHOD } |
Functions | |
cpl_parameter * | xsh_parameters_find (cpl_parameterlist *list, const char *recipe_id, const char *name) |
find a parameter | |
void | xsh_parameters_ron_dark_create (const char *recipe_id, cpl_parameterlist *list, xsh_ron_dark_param p) |
create the RON determination parameters in a parameters list | |
void | xsh_parameters_prescan_create (const char *recipe_id, cpl_parameterlist *list, xsh_prescan_param p) |
void | xsh_parameters_overscan_create (const char *recipe_id, cpl_parameterlist *list, xsh_overscan_param p) |
void | xsh_parameters_struct_create (const char *recipe_id, cpl_parameterlist *list, xsh_struct_param p) |
create the structX/Y region definition parameters in a parameters list | |
void | xsh_parameters_ref1_create (const char *recipe_id, cpl_parameterlist *list, xsh_ref_param p) |
create the reference region definition parameters in a parameters list | |
void | xsh_parameters_ref2_create (const char *recipe_id, cpl_parameterlist *list, xsh_ref_param p) |
create the reference region definition parameters in a parameters list | |
void | xsh_parameters_ron_create (const char *recipe_id, cpl_parameterlist *list, xsh_ron_param p) |
create the RON determination parameters in a parameters list | |
void | xsh_parameters_fpn_create (const char *recipe_id, cpl_parameterlist *list, xsh_fpn_param p) |
create the FPN parameters in a parameters list | |
void | xsh_parameters_hot_cold_pix_create (const char *recipe_id, cpl_parameterlist *list, xsh_hot_cold_pix_param p) |
create the crh clipping parameters in a parameters list | |
void | xsh_parameters_new_int (cpl_parameterlist *list, const char *recipe_id, const char *name, int value, const char *comment) |
void | xsh_parameters_new_double (cpl_parameterlist *list, const char *recipe_id, const char *name, double value, const char *comment) |
void | xsh_parameters_new_boolean (cpl_parameterlist *list, const char *recipe_id, const char *name, int value, const char *comment) |
int | xsh_parameters_get_boolean (const cpl_parameterlist *list, const char *recipe_id, const char *name) |
int | xsh_parameters_get_int (cpl_parameterlist *list, const char *recipe_id, const char *name) |
double | xsh_parameters_get_double (cpl_parameterlist *list, const char *recipe_id, const char *name) |
char * | xsh_parameters_get_string (const cpl_parameterlist *list, const char *recipe_id, const char *name) |
void | xsh_parameters_generic (const char *recipe_id, cpl_parameterlist *plist) |
void | xsh_parameters_pre_overscan (const char *recipe_id, cpl_parameterlist *plist) |
int | xsh_parameters_get_temporary (const char *recipe_id, const cpl_parameterlist *list) |
int | xsh_parameters_debug_level_get (const char *recipe_id, const cpl_parameterlist *list) |
char * | xsh_parameters_test_mode_get (const char *recipe_id, const cpl_parameterlist *list) |
int | xsh_parameters_time_stamp_get (const char *recipe_id, const cpl_parameterlist *list) |
XSH_ARM | xsh_parameters_get_arm (const char *recipe_id, const cpl_parameterlist *list) |
void | xsh_parameters_use_model_create (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_use_model_get (const char *recipe_id, const cpl_parameterlist *list) |
void | xsh_parameters_clipping_noise_create (const char *recipe_id, cpl_parameterlist *list, xsh_clipping_param noise_clip_param) |
create the crh noise clipping parameters in a parameters list | |
xsh_clipping_param * | xsh_parameters_clipping_noise_get (const char *recipe_id, cpl_parameterlist *list) |
get the noise clipping parameters in a parameters list | |
void | xsh_parameters_clipping_dcn_create (const char *recipe_id, cpl_parameterlist *list) |
create the DetectContiNuum clipping parameters in a parameters list | |
xsh_clipping_param * | xsh_parameters_clipping_dcn_get (const char *recipe_id, cpl_parameterlist *list) |
Get the detectcontinuum clipping parameters in a parameters list. | |
void | xsh_parameters_detect_continuum_create (const char *recipe_id, cpl_parameterlist *list, xsh_detect_continuum_param par) |
create the detect continuum parameter "window" in a parameters list | |
xsh_detect_continuum_param * | xsh_parameters_detect_continuum_get (const char *recipe_id, cpl_parameterlist *list) |
Get the detect continuum parameters in a parameters list. | |
xsh_interpolate_bp_param * | xsh_parameters_interpolate_bp_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_clipping_crh_create (const char *recipe_id, cpl_parameterlist *list, xsh_clipping_param p) |
create the crh clipping parameters in a parameters list | |
xsh_clipping_param * | xsh_parameters_clipping_crh_get (const char *recipe_id, cpl_parameterlist *list) |
get the crh clipping parameters in a parameters list | |
void | xsh_parameters_detect_order_create (const char *recipe_id, cpl_parameterlist *list) |
Create the detect order parameters in a parameters list. | |
xsh_detect_order_param * | xsh_parameters_detect_order_get (const char *recipe_id, cpl_parameterlist *list, cpl_parameterlist *drs) |
Get the detect orders parameters in a parameters list. | |
void | xsh_parameters_d2_detect_order_create (const char *recipe_id, cpl_parameterlist *list) |
Create the d2 detect order parameters in a parameters list. | |
xsh_d2_detect_order_param * | xsh_parameters_d2_detect_order_get (const char *recipe_id, cpl_parameterlist *list) |
Get the d2 detect orders parameters in a parameters list. | |
void | xsh_parameters_clipping_detect_arclines_create (const char *recipe_id, cpl_parameterlist *list, xsh_clipping_param p) |
Create the arclines clipping parameters in a parameters list. | |
xsh_clipping_param * | xsh_parameters_clipping_detect_arclines_get (const char *recipe_id, cpl_parameterlist *list) |
Get the arclines clipping parameters in a parameters list. | |
void | xsh_parameters_detect_arclines_create (const char *recipe_id, cpl_parameterlist *list, xsh_detect_arclines_param p) |
create the detect arclines parameters in a parameters list | |
xsh_detect_arclines_param * | xsh_parameters_detect_arclines_get (const char *recipe_id, cpl_parameterlist *list) |
get the detect arclines parameters in a parameters list | |
void | xsh_parameters_background_create (const char *recipe_id, cpl_parameterlist *list) |
create the subtract background parameters in a parameters list | |
xsh_background_param * | xsh_parameters_background_get (const char *recipe_id, cpl_parameterlist *list) |
get the background parameters in a parameters list | |
void | xsh_parameters_clipping_tilt_create (const char *recipe_id, cpl_parameterlist *list) |
create the xsh_wavecal (function follow_arclines) clipping parameters in a parameters list | |
xsh_clipping_param * | xsh_parameters_clipping_tilt_get (const char *recipe_id, cpl_parameterlist *list) |
get the xsh_wavecal (follow_arclines) clipping parameters in a parameters list | |
void | xsh_parameters_clipping_specres_create (const char *recipe_id, cpl_parameterlist *list) |
create the xsh_wavecal (function follow_arclines) clipping parameters in a parameters list | |
xsh_clipping_param * | xsh_parameters_clipping_specres_get (const char *recipe_id, cpl_parameterlist *list) |
get the xsh_wavecal (follow_arclines) clipping parameters in a parameters list | |
void | xsh_parameters_wavecal_range_create (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_wavecal_range_get (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_wavecal_margin_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_wavecal_margin_create (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_wavecal_s_n_create (const char *recipe_id, cpl_parameterlist *list) |
double | xsh_parameters_wavecal_s_n_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_remove_crh_single_create (const char *recipe_id, cpl_parameterlist *plist, xsh_remove_crh_single_param p) |
xsh_remove_crh_single_param * | xsh_parameters_remove_crh_single_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_stack_create (const char *recipe_id, cpl_parameterlist *list, xsh_stack_param sp) |
create the RON determination parameters in a parameters list | |
void | xsh_parameters_rectify_create (const char *recipe_id, cpl_parameterlist *plist, xsh_rectify_param p) |
xsh_rectify_param * | xsh_parameters_rectify_get (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_rectify_fast_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_compute_response_create (const char *recipe_id, cpl_parameterlist *plist, xsh_compute_response_param p) |
xsh_compute_response_param * | xsh_parameters_compute_response_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_localize_obj_create (const char *recipe_id, cpl_parameterlist *plist, xsh_localize_obj_param p) |
xsh_localize_obj_param * | xsh_parameters_localize_obj_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_localize_ifu_create (const char *recipe_id, cpl_parameterlist *plist, xsh_localize_ifu_param p) |
xsh_localize_ifu_param * | xsh_parameters_localize_ifu_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_extract_create (const char *recipe_id, cpl_parameterlist *plist, xsh_extract_param p, enum extract_method method) |
void | xsh_parameters_interpolate_bp_create (const char *recipe_id, cpl_parameterlist *plist, xsh_interpolate_bp_param p) |
xsh_extract_param * | xsh_parameters_extract_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_subtract_sky_single_create (const char *recipe_id, cpl_parameterlist *plist, xsh_subtract_sky_single_param p) |
xsh_subtract_sky_single_param * | xsh_parameters_subtract_sky_single_get (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_subtract_sky_single_get_first (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_subtract_sky_single_get_second (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_subtract_sky_single_get_niter (const char *recipe_id, cpl_parameterlist *list) |
double | xsh_parameters_subtract_sky_single_get_kappa (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_subtract_sky_single_get_true (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_dosky_domap_get (const char *recipe_id, cpl_parameterlist *list, cpl_frame *wavemap_frame, cpl_frame *slitmap_frame, int *dosky, int *domap) |
void | xsh_parameters_merge_ord_create (const char *recipe_id, cpl_parameterlist *plist, int p) |
xsh_merge_param * | xsh_parameters_merge_ord_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_optimal_extract_create (const char *recipe_id, cpl_parameterlist *plist, int p) |
double | xsh_parameters_optimal_extract_get_kappa (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_dispersol_create (const char *recipe_id, cpl_parameterlist *list, xsh_dispersol_param p) |
Create the dispersol compute parameters in a parameters list. | |
xsh_dispersol_param * | xsh_parameters_dispersol_get (const char *recipe_id, cpl_parameterlist *list) |
Get the dispersion solution compute parameters in a parameters list. | |
void | xsh_parameters_combine_nod_create (const char *recipe_id, cpl_parameterlist *list, xsh_combine_nod_param p) |
create the crh clipping parameters in a parameters list | |
xsh_combine_nod_param * | xsh_parameters_combine_nod_get (const char *recipe_id, cpl_parameterlist *list) |
get the combine nod parameters in a parameters list | |
void | xsh_parameters_opt_extract_create (const char *recipe_id, cpl_parameterlist *list, xsh_opt_extract_param opt_extract_par) |
Create the optimal extraction parameters in a parameters list. | |
xsh_opt_extract_param * | xsh_parameters_opt_extract_get (const char *recipe_id, cpl_parameterlist *list) |
Get the optimal extraction parameters in a parameters list. | |
void | xsh_parameters_slit_limit_create (const char *recipe_id, cpl_parameterlist *list, xsh_slit_limit_param p) |
xsh_slit_limit_param * | xsh_parameters_slit_limit_get (const char *recipe_id, cpl_parameterlist *list) |
void | xsh_parameters_geom_ifu_mode_create (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_geom_ifu_mode_get (const char *recipe_id, cpl_parameterlist *list) |
cpl_parameterlist * | xsh_parameters_create_from_drs_table (const cpl_table *tab) |
cpl_error_code | xsh_recipe_params_check (cpl_parameterlist *parameters, xsh_instrument *instrument, const char *rec_id) |
cpl_error_code | xsh_recipe_params_drs_check (cpl_parameterlist *parameters, xsh_instrument *instrument, const char *rec_id) |
xsh_stack_param * | xsh_stack_frames_get (const char *recipe_id, cpl_parameterlist *list) |
get the detect arclines parameters in a parameters list | |
cpl_error_code | xsh_parameters_decode_bp_set (const char *recipe_id, cpl_parameterlist *plist, const int ival) |
cpl_error_code | xsh_parameters_decode_bp (const char *recipe_id, cpl_parameterlist *plist, const int ival) |
#define BSPLINE_SAMPLING_PRINT | ( | method | ) |
Definition at line 336 of file xsh_parameters.h.
Referenced by xsh_parameters_subtract_sky_single_create(), and xsh_parameters_subtract_sky_single_get().
#define COMBINE_METHOD_PRINT | ( | method | ) |
(method) == COMBINE_MEDIAN_METHOD ? "MEDIAN" : \ (method) == COMBINE_MEAN_METHOD ? "MEAN" : "????"
Definition at line 376 of file xsh_parameters.h.
Referenced by xsh_combine_nod(), xsh_parameters_combine_nod_create(), and xsh_parameters_combine_nod_get().
#define DECODE_BP_FLAG_ALL 2146435071 |
Definition at line 535 of file xsh_parameters.h.
#define DECODE_BP_FLAG_DEF 2144337919 |
Definition at line 536 of file xsh_parameters.h.
Referenced by main(), xsh_2dmap_create(), xsh_flexcomp_create(), xsh_mbias_create(), xsh_mdark_create(), xsh_parameters_decode_bp(), and xsh_predict_create().
#define DECODE_BP_FLAG_MAX 2147483647 |
Definition at line 534 of file xsh_parameters.h.
Referenced by xsh_parameters_decode_bp().
#define DETECT_ARCLINES_POLYNOMIAL_DEGREE 5 |
Definition at line 158 of file xsh_parameters.h.
#define DETECT_CONTINUUM_POLYNOMIAL_DEGREE 5 |
Definition at line 98 of file xsh_parameters.h.
Referenced by xsh_orderpos_create().
#define EXTRACT_METHOD_PRINT | ( | method | ) |
(method) == LOCALIZATION_METHOD ? "LOCALIZATION" : \ (method) == FULL_METHOD ? "FULL" : \ (method) == CLEAN_METHOD ? "CLEAN" : \ (method) == NOD_METHOD ? "NOD" : "????"
Definition at line 286 of file xsh_parameters.h.
Referenced by HandleOptions(), xsh_extract_clean_with_tag(), xsh_extract_with_tag(), xsh_parameters_extract_create(), and xsh_parameters_extract_get().
#define LOCALIZE_METHOD_PRINT | ( | method | ) |
(method) == LOC_MANUAL_METHOD ? "MANUAL" : \ (method) == LOC_MAXIMUM_METHOD ? "MAXIMUM" : \ (method) == LOC_GAUSSIAN_METHOD ? "GAUSSIAN" :"????"
Definition at line 240 of file xsh_parameters.h.
Referenced by HandleOptions(), xsh_localize_obj(), xsh_parameters_localize_obj_create(), and xsh_parameters_localize_obj_get().
#define MERGE_METHOD_PRINT | ( | merge_method | ) |
(merge_method) == WEIGHTED_MERGE_METHOD ? "WEIGHT" : \ (merge_method) == FULL_METHOD ? "MEAN" : "????"
Definition at line 307 of file xsh_parameters.h.
Referenced by HandleOptions(), and main().
#define OPTEXTRACT_METHOD_PRINT | ( | method | ) |
(method) == GAUSS_METHOD ? "GAUSSIAN" : \ (method) == GENERAL_METHOD ? "GENERAL" : "????"
Definition at line 411 of file xsh_parameters.h.
Referenced by HandleOptions(), main(), xsh_parameters_opt_extract_create(), and xsh_parameters_opt_extract_get().
#define RECTIFY_KERNEL_PRINT | ( | method | ) |
(method) == CPL_KERNEL_TANH ? "TANH" : \ (method) == CPL_KERNEL_SINC ? "SINC" : \ (method) == CPL_KERNEL_SINC2 ? "SINC2" : \ (method) == CPL_KERNEL_LANCZOS ? "LANCZOS" : \ (method) == CPL_KERNEL_HAMMING ? "HAMMING" : \ (method) == CPL_KERNEL_HANN ? "HANN" :"????"
Definition at line 200 of file xsh_parameters.h.
Referenced by HandleOptions(), and main().
#define SKY_METHOD_PRINT | ( | method | ) |
(method) == BSPLINE_METHOD ? "BSPLINE" : \ (method) == MEDIAN_METHOD ? "MEDIAN" : "????"
Definition at line 331 of file xsh_parameters.h.
Referenced by main(), xsh_parameters_subtract_sky_single_create(), xsh_parameters_subtract_sky_single_get(), and xsh_subtract_sky_single().
#define SUBTRACT_SKY_SINGLE_NBKPTS 1000 |
Definition at line 317 of file xsh_parameters.h.
Referenced by xsh_absorp(), xsh_respon_slit_stare(), and xsh_scired_slit_stare().
#define WAVECAL_MARGIN_DEFAULT 3 |
Definition at line 143 of file xsh_parameters.h.
Referenced by xsh_parameters_wavecal_margin_create().
#define WAVECAL_RANGE_DEFAULT 6 |
Definition at line 142 of file xsh_parameters.h.
Referenced by xsh_parameters_wavecal_range_create().
enum bspline_sampling |
Definition at line 325 of file xsh_parameters.h.
enum combine_method |
Definition at line 371 of file xsh_parameters.h.
enum extract_method |
Definition at line 279 of file xsh_parameters.h.
enum localize_method |
Definition at line 235 of file xsh_parameters.h.
enum merge_method |
Definition at line 302 of file xsh_parameters.h.
enum optextract_method |
Definition at line 407 of file xsh_parameters.h.
enum sky_method |
Definition at line 319 of file xsh_parameters.h.
Definition at line 160 of file xsh_parameters.h.
void xsh_parameters_background_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
create the subtract background parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update |
Definition at line 1159 of file xsh_parameters.c.
References assure, check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_range_double(), and xsh_parameters_new_range_int().
Referenced by xsh_absorp_create(), xsh_geom_ifu_create(), xsh_mflat_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), and xsh_scired_slit_stare_create().
xsh_background_param* xsh_parameters_background_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the background parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 1213 of file xsh_parameters.c.
References check, xsh_background_param::debug, xsh_background_param::edges_margin, xsh_background_param::poly_deg_x, xsh_background_param::poly_deg_y, xsh_background_param::poly_kappa, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_geom_ifu(), xsh_mflat(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), and xsh_slit_stare_get_params().
void xsh_parameters_clipping_crh_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_clipping_param | p | |||
) |
create the crh clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | CRH clipping parameters structure |
Definition at line 506 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by main(), xsh_absorp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_scired_ifu_offset_create(), and xsh_scired_ifu_stare_create().
xsh_clipping_param* xsh_parameters_clipping_crh_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the crh clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 824 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_geom_ifu(), and xsh_mdark().
void xsh_parameters_clipping_dcn_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
create the DetectContiNuum clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update |
Definition at line 1527 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), xsh_parameters_new_int(), and xsh_parameters_new_range_double().
Referenced by xsh_orderpos_create().
xsh_clipping_param* xsh_parameters_clipping_dcn_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the detectcontinuum clipping parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
[in] | list | The parameters list to search |
Definition at line 1571 of file xsh_parameters.c.
References check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::res_max, xsh_clipping_param::sigma, XSH_ASSURE_NOT_NULL, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_orderpos().
void xsh_parameters_clipping_detect_arclines_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_clipping_param | p | |||
) |
Create the arclines clipping parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
[in] | list | The parameters list to update |
[in] | p | Clipping parameters structure |
Definition at line 1453 of file xsh_parameters.c.
References check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_2dmap_create(), xsh_flexcomp_create(), and xsh_predict_create().
xsh_clipping_param* xsh_parameters_clipping_detect_arclines_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the arclines clipping parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
[in] | list | The parameters list to search |
Definition at line 1492 of file xsh_parameters.c.
References check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_2dmap(), xsh_flexcomp(), and xsh_predict().
void xsh_parameters_clipping_noise_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_clipping_param | noise_param | |||
) |
create the crh noise clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
noise_param | structure describing noise params |
Definition at line 867 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::diff, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_mdark_create().
xsh_clipping_param* xsh_parameters_clipping_noise_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the noise clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 904 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::diff, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_mdark().
void xsh_parameters_clipping_specres_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
create the xsh_wavecal (function follow_arclines) clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update |
Definition at line 1818 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_wavecal_create().
xsh_clipping_param* xsh_parameters_clipping_specres_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the xsh_wavecal (follow_arclines) clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 1850 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_wavecal_get_parameters().
void xsh_parameters_clipping_tilt_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
create the xsh_wavecal (function follow_arclines) clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update |
Definition at line 1747 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_wavecal_create().
xsh_clipping_param* xsh_parameters_clipping_tilt_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the xsh_wavecal (follow_arclines) clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 1779 of file xsh_parameters.c.
References assure, check, xsh_clipping_param::frac, xsh_clipping_param::niter, xsh_clipping_param::sigma, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_wavecal_get_parameters().
void xsh_parameters_combine_nod_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_combine_nod_param | p | |||
) |
create the crh clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | combine nod parameters structure |
Definition at line 3084 of file xsh_parameters.c.
References assure, check, COMBINE_METHOD_PRINT, xsh_combine_nod_param::method, xsh_combine_nod_param::throwname, and xsh_parameters_new_string().
Referenced by xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_scired_slit_nod_create(), and xsh_scired_slit_offset_create().
xsh_combine_nod_param* xsh_parameters_combine_nod_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the combine nod parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 3130 of file xsh_parameters.c.
References assure, check, COMBINE_MEAN_METHOD, COMBINE_MEDIAN_METHOD, COMBINE_METHOD_PRINT, xsh_combine_nod_param::method, xsh_combine_nod_param::throwname, xsh_error_msg, and xsh_parameters_get_string().
Referenced by xsh_scired_nod_get_parameters(), and xsh_slit_offset_get_params().
void xsh_parameters_compute_response_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_compute_response_param | p | |||
) |
Definition at line 2253 of file xsh_parameters.c.
References assure, check, xsh_compute_response_param::lambda_bin, and xsh_parameters_new_double().
xsh_compute_response_param* xsh_parameters_compute_response_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2270 of file xsh_parameters.c.
References assure, check, xsh_compute_response_param::lambda_bin, and xsh_parameters_get_double().
cpl_parameterlist* xsh_parameters_create_from_drs_table | ( | const cpl_table * | tab | ) |
Definition at line 3370 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL_MSG, xsh_msg_error, xsh_parameters_new_bool(), xsh_parameters_new_double(), xsh_parameters_new_float(), xsh_parameters_new_int(), and xsh_parameters_new_string().
void xsh_parameters_d2_detect_order_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Create the d2 detect order parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
list | The parameters list to update |
Definition at line 1096 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_range_double().
Referenced by xsh_mflat_create().
xsh_d2_detect_order_param* xsh_parameters_d2_detect_order_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the d2 detect orders parameters in a parameters list.
recipe_id | The current recipe in use | |
list | The parameters list to search |
Definition at line 1128 of file xsh_parameters.c.
References check, xsh_d2_detect_order_param::min_sn, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, and xsh_parameters_get_double().
Referenced by xsh_mflat().
int xsh_parameters_debug_level_get | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 455 of file xsh_parameters.c.
References XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, XSH_DEBUG_LEVEL_MEDIUM, XSH_DEBUG_LEVEL_NONE, xsh_debug_level_set(), xsh_msg, and xsh_parameters_get_string().
Referenced by xsh_begin(), xsh_cfg_recover_last_step(), and xsh_cfg_recover_measure_tab_xy_peaks().
cpl_error_code xsh_parameters_decode_bp | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
const int | ival | |||
) |
Definition at line 408 of file xsh_parameters.c.
References check, DECODE_BP_FLAG_DEF, DECODE_BP_FLAG_MAX, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_range_int().
Referenced by create(), xsh_2dmap_create(), xsh_absorp_create(), xsh_cfg_recover_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_lingain_create(), xsh_mbias_create(), xsh_mdark_create(), xsh_mflat_create(), xsh_orderpos_create(), xsh_predict_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), xsh_util_afc_create(), xsh_util_apply_response_create(), xsh_util_bpmap2rp_create(), xsh_util_bpmap_coadd_create(), xsh_util_bpmap_nl_raw2pre_create(), xsh_util_compute_response_create(), xsh_util_crh_single_create(), xsh_util_efficiency1d_create(), xsh_util_efficiency2d_create(), xsh_util_efficiency_create(), xsh_util_guess_xy_create(), xsh_util_ifu_build_cube_create(), xsh_util_ima_arith_create(), xsh_util_ima_getextno_create(), xsh_util_ima_oversample_create(), xsh_util_ima_rebin_create(), xsh_util_ima_shift_create(), xsh_util_ima_subsample_create(), xsh_util_integrate_create(), xsh_util_physmod_create(), xsh_util_ronbias_create(), and xsh_wavecal_create().
cpl_error_code xsh_parameters_decode_bp_set | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
const int | ival | |||
) |
Definition at line 428 of file xsh_parameters.c.
References xsh_parameters_find().
void xsh_parameters_detect_arclines_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_detect_arclines_param | p | |||
) |
create the detect arclines parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | Parameters structure |
Definition at line 1261 of file xsh_parameters.c.
References check, xsh_detect_arclines_param::find_center_method, xsh_detect_arclines_param::fit_window_hsize, xsh_detect_arclines_param::min_sn, xsh_detect_arclines_param::ordertab_deg_y, xsh_detect_arclines_param::running_median_hsize, xsh_detect_arclines_param::search_window_hsize, xsh_detect_arclines_param::wavesol_deg_lambda, xsh_detect_arclines_param::wavesol_deg_order, xsh_detect_arclines_param::wavesol_deg_slit, XSH_ASSURE_NOT_NULL, XSH_GAUSSIAN_METHOD, xsh_parameters_new_double(), xsh_parameters_new_int(), and xsh_parameters_new_string().
Referenced by xsh_2dmap_create(), xsh_flexcomp_create(), and xsh_predict_create().
xsh_detect_arclines_param* xsh_parameters_detect_arclines_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the detect arclines parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 1384 of file xsh_parameters.c.
References check, xsh_detect_arclines_param::find_center_method, xsh_detect_arclines_param::fit_window_hsize, xsh_detect_arclines_param::min_sn, xsh_detect_arclines_param::mode_iterative, xsh_detect_arclines_param::ordertab_deg_y, xsh_detect_arclines_param::running_median_hsize, xsh_detect_arclines_param::search_window_hsize, xsh_detect_arclines_param::wavesol_deg_lambda, xsh_detect_arclines_param::wavesol_deg_order, xsh_detect_arclines_param::wavesol_deg_slit, XSH_ASSURE_NOT_NULL, XSH_BARYCENTER_METHOD, XSH_FREE, XSH_GAUSSIAN_METHOD, XSH_MALLOC, xsh_parameters_get_double(), xsh_parameters_get_int(), and xsh_parameters_get_string().
Referenced by xsh_2dmap(), xsh_flexcomp(), and xsh_predict().
void xsh_parameters_detect_continuum_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_detect_continuum_param | par | |||
) |
create the detect continuum parameter "window" in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
par | the structure containing relevant params to be created |
Definition at line 1608 of file xsh_parameters.c.
References check, xsh_detect_continuum_param::fit_threshold, xsh_detect_continuum_param::fit_window, xsh_detect_continuum_param::poly_degree, xsh_detect_continuum_param::poly_step, xsh_detect_continuum_param::running_window, xsh_detect_continuum_param::search_window, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_orderpos_create().
xsh_detect_continuum_param* xsh_parameters_detect_continuum_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the detect continuum parameters in a parameters list.
recipe_id | The current recipe in use | |
list | The parameters list to search |
Definition at line 1695 of file xsh_parameters.c.
References check, xsh_detect_continuum_param::fit_threshold, xsh_detect_continuum_param::fit_window, xsh_detect_continuum_param::poly_degree, xsh_detect_continuum_param::poly_step, xsh_detect_continuum_param::running_window, xsh_detect_continuum_param::search_window, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_orderpos().
void xsh_parameters_detect_order_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Create the detect order parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
list | The parameters list to update |
Definition at line 947 of file xsh_parameters.c.
References assure, check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_mflat_create().
xsh_detect_order_param* xsh_parameters_detect_order_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
cpl_parameterlist * | drs | |||
) |
Get the detect orders parameters in a parameters list.
recipe_id | The current recipe in use | |
list | The parameters list to search |
Definition at line 1041 of file xsh_parameters.c.
References check, xsh_detect_order_param::chunk_hsize, xsh_detect_order_param::fixed_slice, xsh_detect_order_param::flux_thresh, xsh_detect_order_param::method, xsh_detect_order_param::min_order_size_x, xsh_detect_order_param::min_sn, xsh_detect_order_param::qc_mode, xsh_detect_order_param::search_window_hsize, xsh_detect_order_param::slitlet_low_factor, xsh_detect_order_param::slitlet_up_factor, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, xsh_parameters_get_boolean(), xsh_parameters_get_double(), xsh_parameters_get_int(), and xsh_parameters_get_string().
Referenced by xsh_mflat().
void xsh_parameters_dispersol_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_dispersol_param | p | |||
) |
Create the dispersol compute parameters in a parameters list.
recipe_id | The current recipe in use | |
list | The parameters list to update | |
p | The dispersol parameters structure |
Definition at line 3018 of file xsh_parameters.c.
References check, xsh_dispersol_param::deg_x, xsh_dispersol_param::deg_y, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_int().
Referenced by xsh_2dmap_create(), and xsh_flexcomp_create().
xsh_dispersol_param* xsh_parameters_dispersol_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the dispersion solution compute parameters in a parameters list.
recipe_id | The current recipe in use | |
list | The parameters list to search |
Definition at line 3051 of file xsh_parameters.c.
References check, xsh_dispersol_param::deg_x, xsh_dispersol_param::deg_y, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, and xsh_parameters_get_int().
Referenced by xsh_2dmap(), and xsh_flexcomp().
void xsh_parameters_dosky_domap_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
cpl_frame * | wavemap_frame, | |||
cpl_frame * | slitmap_frame, | |||
int * | dosky, | |||
int * | domap | |||
) |
Definition at line 2822 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, xsh_msg_warning, xsh_parameters_get_boolean(), and xsh_parameters_subtract_sky_single_get_true().
void xsh_parameters_extract_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_extract_param | p, | |||
enum extract_method | method | |||
) |
Definition at line 2541 of file xsh_parameters.c.
References check, EXTRACT_METHOD_PRINT, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_string().
Referenced by xsh_absorp_create(), xsh_respon_slit_nod_create(), and xsh_scired_slit_nod_create().
xsh_extract_param* xsh_parameters_extract_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2573 of file xsh_parameters.c.
References check, CLEAN_METHOD, EXTRACT_METHOD_PRINT, FULL_METHOD, LOCALIZATION_METHOD, xsh_extract_param::method, NOD_METHOD, XSH_ASSURE_NOT_NULL, xsh_error_msg, XSH_MALLOC, and xsh_parameters_get_string().
Referenced by xsh_scired_nod_get_parameters(), and xsh_slit_offset_get_params().
cpl_parameter* xsh_parameters_find | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
find a parameter
list | the parameters list to search in | |
recipe_id | the current recipe in use | |
name | the parameter name |
Definition at line 333 of file xsh_parameters.c.
References check.
Referenced by xsh_absorp_create(), xsh_begin(), xsh_mdark_get_contam(), xsh_parameter_check_double(), xsh_parameter_check_int(), xsh_parameters_decode_bp_set(), xsh_params_compute_fpn_check(), xsh_params_compute_ron_mbias_set3_check(), xsh_params_compute_ron_mdark_check(), xsh_params_localizeifu_check(), xsh_params_overscan_nir_check(), xsh_params_set_defaults(), xsh_rectify_params_set_defaults(), and xsh_rectify_params_set_defaults_drl().
void xsh_parameters_fpn_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_fpn_param | p | |||
) |
create the FPN parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | Fixed Pattern Noise parameters structure |
Definition at line 784 of file xsh_parameters.c.
References xsh_fpn_param::fpn_hsize, xsh_fpn_param::fpn_llx, xsh_fpn_param::fpn_lly, xsh_fpn_param::fpn_nsamples, xsh_fpn_param::fpn_urx, xsh_fpn_param::fpn_ury, and xsh_parameters_new_int().
Referenced by main(), xsh_mbias_create(), and xsh_mdark_create().
void xsh_parameters_generic | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist | |||
) |
Definition at line 383 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), and xsh_parameters_new_string().
Referenced by create(), main(), xsh_2dmap_create(), xsh_absorp_create(), xsh_cfg_recover_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_lingain_create(), xsh_mbias_create(), xsh_mdark_create(), xsh_mflat_create(), xsh_orderpos_create(), xsh_predict_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), xsh_util_afc_create(), xsh_util_apply_response_create(), xsh_util_bpmap2rp_create(), xsh_util_bpmap_coadd_create(), xsh_util_bpmap_nl_raw2pre_create(), xsh_util_compute_response_create(), xsh_util_crh_single_create(), xsh_util_efficiency1d_create(), xsh_util_efficiency2d_create(), xsh_util_efficiency_create(), xsh_util_guess_xy_create(), xsh_util_ifu_build_cube_create(), xsh_util_ima_arith_create(), xsh_util_ima_getextno_create(), xsh_util_ima_oversample_create(), xsh_util_ima_rebin_create(), xsh_util_ima_shift_create(), xsh_util_ima_subsample_create(), xsh_util_integrate_create(), xsh_util_physmod_create(), xsh_util_ronbias_create(), and xsh_wavecal_create().
void xsh_parameters_geom_ifu_mode_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 3338 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_boolean().
int xsh_parameters_geom_ifu_mode_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 3353 of file xsh_parameters.c.
References XSH_ASSURE_NOT_NULL, and xsh_parameters_get_boolean().
XSH_ARM xsh_parameters_get_arm | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
int xsh_parameters_get_boolean | ( | const cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 260 of file xsh_parameters.c.
Referenced by xsh_geom_ifu(), xsh_parameters_detect_order_get(), xsh_parameters_dosky_domap_get(), xsh_parameters_geom_ifu_mode_get(), xsh_parameters_localize_ifu_get(), xsh_parameters_localize_obj_get(), xsh_parameters_rectify_fast_get(), xsh_parameters_subtract_sky_single_get_true(), xsh_parameters_time_stamp_get(), xsh_params_localizeifu_check(), xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_slit_offset_get_params(), xsh_slit_stare_get_params(), and xsh_util_compute_response().
double xsh_parameters_get_double | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 299 of file xsh_parameters.c.
Referenced by xsh_absorp(), xsh_geom_ifu(), xsh_parameter_check_double(), xsh_parameters_background_get(), xsh_parameters_clipping_crh_get(), xsh_parameters_clipping_dcn_get(), xsh_parameters_clipping_detect_arclines_get(), xsh_parameters_clipping_noise_get(), xsh_parameters_clipping_specres_get(), xsh_parameters_clipping_tilt_get(), xsh_parameters_compute_response_get(), xsh_parameters_d2_detect_order_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_detect_continuum_get(), xsh_parameters_detect_order_get(), xsh_parameters_localize_ifu_get(), xsh_parameters_localize_obj_get(), xsh_parameters_opt_extract_get(), xsh_parameters_optimal_extract_get_kappa(), xsh_parameters_rectify_get(), xsh_parameters_remove_crh_single_get(), xsh_parameters_slit_limit_get(), xsh_parameters_subtract_sky_single_get(), xsh_parameters_subtract_sky_single_get_kappa(), xsh_parameters_wavecal_s_n_get(), and xsh_stack_frames_get().
int xsh_parameters_get_int | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 281 of file xsh_parameters.c.
Referenced by xsh_2dmap(), xsh_absorp(), xsh_flexcomp(), xsh_geom_ifu(), xsh_mdark(), xsh_mdark_get_contam(), xsh_mdark_get_fpn(), xsh_mdark_get_median_stdev(), xsh_mdark_measure_fpn(), xsh_mdark_measure_ron(), xsh_mflat(), xsh_orderpos(), xsh_parameter_check_int(), xsh_parameters_background_get(), xsh_parameters_clipping_crh_get(), xsh_parameters_clipping_dcn_get(), xsh_parameters_clipping_detect_arclines_get(), xsh_parameters_clipping_noise_get(), xsh_parameters_clipping_specres_get(), xsh_parameters_clipping_tilt_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_detect_continuum_get(), xsh_parameters_detect_order_get(), xsh_parameters_dispersol_get(), xsh_parameters_interpolate_bp_get(), xsh_parameters_localize_ifu_get(), xsh_parameters_localize_obj_get(), xsh_parameters_merge_ord_get(), xsh_parameters_opt_extract_get(), xsh_parameters_remove_crh_single_get(), xsh_parameters_subtract_sky_single_get(), xsh_parameters_subtract_sky_single_get_first(), xsh_parameters_subtract_sky_single_get_niter(), xsh_parameters_subtract_sky_single_get_second(), xsh_parameters_wavecal_margin_get(), xsh_parameters_wavecal_range_get(), xsh_params_compute_fpn_check(), xsh_params_compute_ron_mbias_set3_check(), xsh_params_compute_ron_mdark_check(), xsh_predict(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_nod_get_parameters(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), and xsh_slit_stare_get_params().
char* xsh_parameters_get_string | ( | const cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 242 of file xsh_parameters.c.
Referenced by xsh_geom_ifu(), xsh_parameters_combine_nod_get(), xsh_parameters_debug_level_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_detect_order_get(), xsh_parameters_extract_get(), xsh_parameters_get_temporary(), xsh_parameters_localize_obj_get(), xsh_parameters_opt_extract_get(), xsh_parameters_rectify_get(), xsh_parameters_subtract_sky_single_get(), xsh_parameters_test_mode_get(), xsh_parameters_use_model_get(), and xsh_stack_frames_get().
int xsh_parameters_get_temporary | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 439 of file xsh_parameters.c.
References xsh_msg, and xsh_parameters_get_string().
Referenced by xsh_begin(), and xsh_end().
void xsh_parameters_hot_cold_pix_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_hot_cold_pix_param | p | |||
) |
create the crh clipping parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | hot-cold pix detection parameters structure |
Definition at line 544 of file xsh_parameters.c.
References assure, check, xsh_hot_cold_pix_param::cold_pix_kappa, xsh_hot_cold_pix_param::cold_pix_niter, xsh_hot_cold_pix_param::hot_cold_pix_search, xsh_hot_cold_pix_param::hot_pix_kappa, xsh_hot_cold_pix_param::hot_pix_niter, xsh_parameters_new_boolean(), xsh_parameters_new_double(), and xsh_parameters_new_range_int().
Referenced by main().
void xsh_parameters_interpolate_bp_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_interpolate_bp_param | p | |||
) |
Definition at line 2557 of file xsh_parameters.c.
References check, xsh_interpolate_bp_param::mask_hsize, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_int().
Referenced by xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), and xsh_scired_slit_stare_create().
xsh_interpolate_bp_param* xsh_parameters_interpolate_bp_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2617 of file xsh_parameters.c.
References check, xsh_interpolate_bp_param::mask_hsize, XSH_ASSURE_NOT_NULL, XSH_MALLOC, and xsh_parameters_get_int().
Referenced by xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_slit_nod(), xsh_scired_slit_offset(), and xsh_scired_slit_stare().
void xsh_parameters_localize_ifu_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_localize_ifu_param | p | |||
) |
Definition at line 2418 of file xsh_parameters.c.
References xsh_localize_ifu_param::bckg_deg, xsh_localize_ifu_param::box_hsize, check, xsh_localize_ifu_param::cut_sigma_low, xsh_localize_ifu_param::cut_sigma_up, xsh_localize_ifu_param::cut_snr_low, xsh_localize_ifu_param::cut_snr_up, xsh_localize_ifu_param::HF_skip, xsh_localize_ifu_param::nscales, xsh_localize_ifu_param::slitlow_edges_mask, xsh_localize_ifu_param::slitup_edges_mask, xsh_localize_ifu_param::smooth_hsize, xsh_localize_ifu_param::use_skymask, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_geom_ifu_create().
xsh_localize_ifu_param* xsh_parameters_localize_ifu_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2485 of file xsh_parameters.c.
References xsh_localize_ifu_param::bckg_deg, xsh_localize_ifu_param::box_hsize, check, xsh_localize_ifu_param::cut_sigma_low, xsh_localize_ifu_param::cut_sigma_up, xsh_localize_ifu_param::cut_snr_low, xsh_localize_ifu_param::cut_snr_up, xsh_localize_ifu_param::HF_skip, xsh_localize_ifu_param::nscales, xsh_localize_ifu_param::slitlow_edges_mask, xsh_localize_ifu_param::slitup_edges_mask, xsh_localize_ifu_param::smooth_hsize, xsh_localize_ifu_param::use_skymask, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, xsh_parameters_get_boolean(), xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_geom_ifu().
void xsh_parameters_localize_obj_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_localize_obj_param | p | |||
) |
Definition at line 2300 of file xsh_parameters.c.
References check, xsh_localize_obj_param::kappa, xsh_localize_obj_param::loc_chunk_nb, xsh_localize_obj_param::loc_deg_poly, xsh_localize_obj_param::loc_thresh, LOCALIZE_METHOD_PRINT, xsh_localize_obj_param::method, xsh_localize_obj_param::niter, xsh_localize_obj_param::slit_hheight, xsh_localize_obj_param::slit_position, xsh_localize_obj_param::use_skymask, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), xsh_parameters_new_double(), xsh_parameters_new_int(), and xsh_parameters_new_string().
Referenced by xsh_absorp_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), and xsh_scired_slit_stare_create().
xsh_localize_obj_param* xsh_parameters_localize_obj_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2362 of file xsh_parameters.c.
References check, xsh_localize_obj_param::kappa, xsh_localize_obj_param::loc_chunk_nb, xsh_localize_obj_param::loc_deg_poly, LOC_GAUSSIAN_METHOD, LOC_MANUAL_METHOD, LOC_MAXIMUM_METHOD, xsh_localize_obj_param::loc_thresh, LOCALIZE_METHOD_PRINT, xsh_localize_obj_param::method, xsh_localize_obj_param::niter, xsh_localize_obj_param::slit_hheight, xsh_localize_obj_param::slit_position, xsh_localize_obj_param::use_skymask, XSH_ASSURE_NOT_NULL, xsh_error_msg, XSH_FREE, XSH_MALLOC, xsh_parameters_get_boolean(), xsh_parameters_get_double(), xsh_parameters_get_int(), and xsh_parameters_get_string().
Referenced by xsh_scired_nod_get_parameters(), xsh_slit_offset_get_params(), and xsh_slit_stare_get_params().
void xsh_parameters_merge_ord_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
int | p | |||
) |
Definition at line 2930 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_int().
xsh_merge_param* xsh_parameters_merge_ord_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2946 of file xsh_parameters.c.
References check, xsh_merge_param::method, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, and xsh_parameters_get_int().
void xsh_parameters_new_boolean | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
int | value, | |||
const char * | comment | |||
) |
Definition at line 73 of file xsh_parameters.c.
References check, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_absorp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_parameters_detect_order_create(), xsh_parameters_generic(), xsh_parameters_geom_ifu_mode_create(), xsh_parameters_hot_cold_pix_create(), xsh_parameters_localize_ifu_create(), xsh_parameters_localize_obj_create(), xsh_parameters_subtract_sky_single_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), and xsh_util_compute_response_create().
void xsh_parameters_new_double | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
double | value, | |||
const char * | comment | |||
) |
Definition at line 120 of file xsh_parameters.c.
Referenced by xsh_2dmap_create(), xsh_absorp_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_parameters_clipping_crh_create(), xsh_parameters_clipping_dcn_create(), xsh_parameters_clipping_detect_arclines_create(), xsh_parameters_clipping_noise_create(), xsh_parameters_clipping_specres_create(), xsh_parameters_clipping_tilt_create(), xsh_parameters_compute_response_create(), xsh_parameters_create_from_drs_table(), xsh_parameters_detect_arclines_create(), xsh_parameters_detect_continuum_create(), xsh_parameters_detect_order_create(), xsh_parameters_hot_cold_pix_create(), xsh_parameters_localize_ifu_create(), xsh_parameters_localize_obj_create(), xsh_parameters_opt_extract_create(), xsh_parameters_optimal_extract_create(), xsh_parameters_rectify_create(), xsh_parameters_remove_crh_single_create(), xsh_parameters_slit_limit_create(), xsh_parameters_stack_create(), xsh_parameters_subtract_sky_single_create(), xsh_parameters_wavecal_s_n_create(), xsh_predict_create(), xsh_respon_slit_nod_create(), and xsh_scired_slit_nod_create().
void xsh_parameters_new_int | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
int | value, | |||
const char * | comment | |||
) |
Definition at line 50 of file xsh_parameters.c.
Referenced by xsh_2dmap_create(), xsh_absorp_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_parameters_clipping_crh_create(), xsh_parameters_clipping_dcn_create(), xsh_parameters_clipping_detect_arclines_create(), xsh_parameters_clipping_noise_create(), xsh_parameters_clipping_specres_create(), xsh_parameters_clipping_tilt_create(), xsh_parameters_create_from_drs_table(), xsh_parameters_detect_arclines_create(), xsh_parameters_detect_continuum_create(), xsh_parameters_detect_order_create(), xsh_parameters_dispersol_create(), xsh_parameters_fpn_create(), xsh_parameters_interpolate_bp_create(), xsh_parameters_localize_ifu_create(), xsh_parameters_localize_obj_create(), xsh_parameters_merge_ord_create(), xsh_parameters_opt_extract_create(), xsh_parameters_ref1_create(), xsh_parameters_ref2_create(), xsh_parameters_remove_crh_single_create(), xsh_parameters_ron_create(), xsh_parameters_ron_dark_create(), xsh_parameters_struct_create(), xsh_parameters_subtract_sky_single_create(), and xsh_predict_create().
void xsh_parameters_opt_extract_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_opt_extract_param | p | |||
) |
Create the optimal extraction parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
[in,out] | list | The parameters list to update |
[in] | p | The default value for the parameter |
Definition at line 3194 of file xsh_parameters.c.
References xsh_opt_extract_param::box_hsize, check, xsh_opt_extract_param::chunk_size, xsh_opt_extract_param::clip_frac, xsh_opt_extract_param::clip_kappa, xsh_opt_extract_param::clip_niter, xsh_opt_extract_param::lambda_step, xsh_opt_extract_param::method, xsh_opt_extract_param::niter, OPTEXTRACT_METHOD_PRINT, xsh_opt_extract_param::oversample, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), xsh_parameters_new_int(), and xsh_parameters_new_string().
Referenced by xsh_absorp_create(), xsh_respon_slit_stare_create(), and xsh_scired_slit_stare_create().
xsh_opt_extract_param* xsh_parameters_opt_extract_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Get the optimal extraction parameters in a parameters list.
[in] | recipe_id | The current recipe in use |
[in] | list | The parameters list to search |
Definition at line 3246 of file xsh_parameters.c.
References xsh_opt_extract_param::box_hsize, check, xsh_opt_extract_param::chunk_size, xsh_opt_extract_param::clip_frac, xsh_opt_extract_param::clip_kappa, xsh_opt_extract_param::clip_niter, GAUSS_METHOD, GENERAL_METHOD, xsh_opt_extract_param::lambda_step, xsh_opt_extract_param::method, xsh_opt_extract_param::niter, OPTEXTRACT_METHOD_PRINT, xsh_opt_extract_param::oversample, XSH_ASSURE_NOT_NULL, xsh_error_msg, XSH_FREE, XSH_MALLOC, xsh_parameters_get_double(), xsh_parameters_get_int(), and xsh_parameters_get_string().
Referenced by xsh_slit_stare_get_params().
void xsh_parameters_optimal_extract_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
int | p | |||
) |
Definition at line 2973 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_double().
double xsh_parameters_optimal_extract_get_kappa | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2989 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_double().
void xsh_parameters_overscan_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_overscan_param | p | |||
) |
void xsh_parameters_pre_overscan | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist | |||
) |
Definition at line 349 of file xsh_parameters.c.
References check, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_2dmap_create(), xsh_absorp_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_mflat_create(), xsh_orderpos_create(), xsh_predict_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), and xsh_wavecal_create().
void xsh_parameters_prescan_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_prescan_param | p | |||
) |
void xsh_parameters_rectify_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_rectify_param | p | |||
) |
Definition at line 2123 of file xsh_parameters.c.
References check, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, xsh_rectify_param::rectif_kernel, xsh_rectify_param::rectif_radius, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), xsh_parameters_new_range_double(), and xsh_parameters_new_string().
Referenced by xsh_absorp_create(), xsh_geom_ifu_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), and xsh_scired_slit_stare_create().
int xsh_parameters_rectify_fast_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2185 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_boolean().
Referenced by xsh_scired_nod_get_parameters().
xsh_rectify_param* xsh_parameters_rectify_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2200 of file xsh_parameters.c.
References assure, check, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, xsh_rectify_param::rectif_kernel, xsh_rectify_param::rectif_radius, xsh_rectify_param::rectify_full_slit, set_rectify_kernel_type(), xsh_parameters_get_double(), and xsh_parameters_get_string().
Referenced by xsh_geom_ifu(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_nod_get_parameters(), xsh_slit_offset_get_params(), and xsh_slit_stare_get_params().
void xsh_parameters_ref1_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_ref_param | p | |||
) |
create the reference region definition parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | reference region parameters structure |
Definition at line 607 of file xsh_parameters.c.
References xsh_ref_param::ref_llx, xsh_ref_param::ref_lly, xsh_ref_param::ref_urx, xsh_ref_param::ref_ury, and xsh_parameters_new_int().
Referenced by xsh_mdark_create(), and xsh_parameters_ron_create().
void xsh_parameters_ref2_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_ref_param | p | |||
) |
create the reference region definition parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | reference region parameters structure |
Definition at line 635 of file xsh_parameters.c.
References xsh_ref_param::ref_llx, xsh_ref_param::ref_lly, xsh_ref_param::ref_urx, xsh_ref_param::ref_ury, and xsh_parameters_new_int().
Referenced by xsh_parameters_ron_create().
void xsh_parameters_remove_crh_single_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_remove_crh_single_param | p | |||
) |
Definition at line 2014 of file xsh_parameters.c.
References check, xsh_remove_crh_single_param::f_lim, xsh_remove_crh_single_param::nb_iter, xsh_remove_crh_single_param::sigma_lim, XSH_ASSURE_NOT_NULL, xsh_parameters_new_double(), and xsh_parameters_new_int().
Referenced by xsh_absorp_create(), xsh_geom_ifu_create(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), and xsh_util_crh_single_create().
xsh_remove_crh_single_param* xsh_parameters_remove_crh_single_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2044 of file xsh_parameters.c.
References check, xsh_remove_crh_single_param::f_lim, xsh_remove_crh_single_param::nb_iter, xsh_remove_crh_single_param::sigma_lim, XSH_ASSURE_NOT_NULL, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_int().
Referenced by xsh_geom_ifu(), xsh_scired_ifu_offset(), xsh_scired_nod_get_parameters(), xsh_slit_offset_get_params(), xsh_slit_stare_get_params(), and xsh_util_crh_single().
void xsh_parameters_ron_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_ron_param | p | |||
) |
create the RON determination parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | RON parameters structure |
Definition at line 741 of file xsh_parameters.c.
References xsh_ron_param::ron_method, xsh_ron_param::ron_random_nsamples, xsh_ron_param::ron_random_sizex, xsh_ron_param::ron_ref_llx, xsh_ron_param::ron_ref_lly, xsh_ron_param::ron_ref_urx, xsh_ron_param::ron_ref_ury, xsh_ron_param::stacking_ks_iter, xsh_ron_param::stacking_ks_low, xsh_parameters_new_int(), xsh_parameters_new_string(), xsh_parameters_ref1_create(), and xsh_parameters_ref2_create().
Referenced by main(), and xsh_mbias_create().
void xsh_parameters_ron_dark_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_ron_dark_param | p | |||
) |
create the RON determination parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | RON parameters structure |
Definition at line 663 of file xsh_parameters.c.
References xsh_ron_dark_param::ron_hsize, xsh_ron_dark_param::ron_llx, xsh_ron_dark_param::ron_lly, xsh_ron_dark_param::ron_nsamp, xsh_ron_dark_param::ron_urx, xsh_ron_dark_param::ron_ury, and xsh_parameters_new_int().
Referenced by xsh_mdark_create().
void xsh_parameters_slit_limit_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_slit_limit_param | p | |||
) |
Definition at line 3295 of file xsh_parameters.c.
References check, xsh_slit_limit_param::max_slit, xsh_slit_limit_param::min_slit, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_double().
Referenced by xsh_respon_slit_nod_create(), and xsh_scired_slit_nod_create().
xsh_slit_limit_param* xsh_parameters_slit_limit_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 3315 of file xsh_parameters.c.
References check, xsh_slit_limit_param::max_slit, xsh_slit_limit_param::min_slit, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, and xsh_parameters_get_double().
Referenced by xsh_scired_nod_get_parameters().
void xsh_parameters_stack_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_stack_param | sp | |||
) |
create the RON determination parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | RON parameters structure |
Definition at line 701 of file xsh_parameters.c.
References xsh_stack_param::khigh, xsh_stack_param::klow, XSH_FREE, xsh_parameters_new_double(), and xsh_stringcat_any().
Referenced by xsh_absorp_create(), xsh_geom_ifu_create(), xsh_mbias_create(), xsh_mdark_create(), xsh_mflat_create(), xsh_respon_slit_nod_create(), xsh_scired_ifu_offset_create(), xsh_scired_ifu_stare_create(), xsh_scired_slit_nod_create(), and xsh_scired_slit_stare_create().
void xsh_parameters_struct_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list, | |||
xsh_struct_param | p | |||
) |
create the structX/Y region definition parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to update | |
p | reference region parameters structure |
Definition at line 585 of file xsh_parameters.c.
References xsh_struct_param::ref_x, xsh_struct_param::ref_y, and xsh_parameters_new_int().
Referenced by main(), and xsh_mbias_create().
void xsh_parameters_subtract_sky_single_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_subtract_sky_single_param | p | |||
) |
Definition at line 2646 of file xsh_parameters.c.
References xsh_subtract_sky_single_param::bezier_spline_order, xsh_subtract_sky_single_param::bspline_sampling, BSPLINE_SAMPLING_PRINT, check, xsh_subtract_sky_single_param::hheight1, xsh_subtract_sky_single_param::hheight2, xsh_subtract_sky_single_param::kappa, xsh_subtract_sky_single_param::median_hsize, xsh_subtract_sky_single_param::method, xsh_subtract_sky_single_param::nbkpts1, xsh_subtract_sky_single_param::nbkpts2, xsh_subtract_sky_single_param::niter, xsh_subtract_sky_single_param::pos1, xsh_subtract_sky_single_param::pos2, SKY_METHOD_PRINT, xsh_subtract_sky_single_param::slit_edges_mask, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), xsh_parameters_new_double(), xsh_parameters_new_int(), xsh_parameters_new_range_int(), and xsh_parameters_new_string().
Referenced by xsh_absorp_create(), xsh_respon_slit_stare_create(), and xsh_scired_slit_stare_create().
xsh_subtract_sky_single_param* xsh_parameters_subtract_sky_single_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2725 of file xsh_parameters.c.
References xsh_subtract_sky_single_param::bezier_spline_order, BSPLINE_METHOD, xsh_subtract_sky_single_param::bspline_sampling, BSPLINE_SAMPLING_PRINT, check, FINE, xsh_subtract_sky_single_param::hheight1, xsh_subtract_sky_single_param::hheight2, xsh_subtract_sky_single_param::kappa, xsh_subtract_sky_single_param::median_hsize, MEDIAN_METHOD, xsh_subtract_sky_single_param::method, xsh_subtract_sky_single_param::nbkpts1, xsh_subtract_sky_single_param::nbkpts2, xsh_subtract_sky_single_param::niter, xsh_subtract_sky_single_param::pos1, xsh_subtract_sky_single_param::pos2, SKY_METHOD_PRINT, xsh_subtract_sky_single_param::slit_edges_mask, UNIFORM, XSH_ASSURE_NOT_NULL, xsh_error_msg, XSH_MALLOC, xsh_parameters_get_double(), xsh_parameters_get_int(), xsh_parameters_get_string(), and xsh_string_toupper().
Referenced by xsh_slit_stare_get_params().
int xsh_parameters_subtract_sky_single_get_first | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2858 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_int().
Referenced by xsh_slit_stare_get_params().
double xsh_parameters_subtract_sky_single_get_kappa | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2910 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_double().
int xsh_parameters_subtract_sky_single_get_niter | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2892 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_int().
int xsh_parameters_subtract_sky_single_get_second | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2875 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_int().
Referenced by xsh_slit_stare_get_params().
int xsh_parameters_subtract_sky_single_get_true | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2809 of file xsh_parameters.c.
References check, and xsh_parameters_get_boolean().
Referenced by xsh_parameters_dosky_domap_get(), xsh_respon_slit_stare(), and xsh_scired_slit_stare().
char* xsh_parameters_test_mode_get | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 475 of file xsh_parameters.c.
References xsh_parameters_get_string().
int xsh_parameters_time_stamp_get | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 485 of file xsh_parameters.c.
References xsh_parameters_get_boolean(), and xsh_time_stamp_set().
void xsh_parameters_use_model_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1979 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_string().
int xsh_parameters_use_model_get | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 1993 of file xsh_parameters.c.
References XSH_ASSURE_NOT_NULL, and xsh_parameters_get_string().
void xsh_parameters_wavecal_margin_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1913 of file xsh_parameters.c.
References assure, check, WAVECAL_MARGIN_DEFAULT, and xsh_parameters_new_range_int().
Referenced by xsh_wavecal_create().
int xsh_parameters_wavecal_margin_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1931 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_int().
Referenced by xsh_wavecal_get_parameters().
void xsh_parameters_wavecal_range_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1881 of file xsh_parameters.c.
References assure, check, WAVECAL_RANGE_DEFAULT, and xsh_parameters_new_range_int().
Referenced by xsh_wavecal_create().
int xsh_parameters_wavecal_range_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1899 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_int().
Referenced by xsh_wavecal_get_parameters().
void xsh_parameters_wavecal_s_n_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1945 of file xsh_parameters.c.
References assure, check, and xsh_parameters_new_double().
Referenced by xsh_wavecal_create().
double xsh_parameters_wavecal_s_n_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 1963 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_double().
Referenced by xsh_wavecal_get_parameters().
cpl_error_code xsh_recipe_params_check | ( | cpl_parameterlist * | parameters, | |
xsh_instrument * | instrument, | |||
const char * | rec_id | |||
) |
Definition at line 4338 of file xsh_parameters.c.
References binx, biny, check, NIR_ASIZE, NIR_BSIZE, NIR_morder, UVB_ASIZE, UVB_BSIZE, UVB_morder, VIS_ASIZE, VIS_BSIZE, VIS_morder, XSH_ARM_NIR, XSH_ARM_UVB, XSH_ARM_VIS, xsh_instrument_get_arm(), xsh_instrument_get_binx(), xsh_instrument_get_biny(), xsh_msg_error, xsh_params_background_check(), xsh_params_compute_fpn_check(), xsh_params_compute_ron_check(), xsh_params_correctifu_check(), xsh_params_crhclip_check(), xsh_params_crhsingle_check(), xsh_params_detect_arclines_check(), xsh_params_detect_continuum_check(), xsh_params_detectorder_check(), xsh_params_dispersol_check(), xsh_params_extract_mask_size_check(), xsh_params_follow_arclines_check(), xsh_params_localize_check(), xsh_params_localizeifu_check(), xsh_params_model_anneal_check(), xsh_params_noise_clip_check(), xsh_params_optextract_check(), xsh_params_overscan_check(), xsh_params_overscan_nir_check(), xsh_params_rectify_check(), xsh_params_sky_bspline_check(), xsh_params_spec_res_check(), xsh_params_stack_check(), and xsh_params_tilt_clip_check().
Referenced by xsh_2dmap(), xsh_absorp(), xsh_flexcomp(), xsh_geom_ifu(), xsh_mbias(), xsh_mdark(), xsh_mflat(), xsh_orderpos(), xsh_predict(), xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), and xsh_wavecal().
cpl_error_code xsh_recipe_params_drs_check | ( | cpl_parameterlist * | parameters, | |
xsh_instrument * | instrument, | |||
const char * | rec_id | |||
) |
Definition at line 4506 of file xsh_parameters.c.
References binx, biny, check, NIR_ASIZE, NIR_BSIZE, UVB_ASIZE, UVB_BSIZE, VIS_ASIZE, VIS_BSIZE, XSH_ARM_NIR, XSH_ARM_UVB, XSH_ARM_VIS, xsh_instrument_get_arm(), xsh_instrument_get_binx(), xsh_instrument_get_biny(), xsh_msg_error, xsh_params_compute_fpn_check(), xsh_params_compute_ron_check(), xsh_params_crhclip_check(), xsh_params_noise_clip_check(), and xsh_params_stacking_check().
xsh_stack_param* xsh_stack_frames_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
get the detect arclines parameters in a parameters list
recipe_id | the current recipe in use | |
list | the parameters list to search |
Definition at line 1350 of file xsh_parameters.c.
References check, xsh_stack_param::khigh, xsh_stack_param::klow, xsh_stack_param::stack_method, XSH_ASSURE_NOT_NULL, XSH_MALLOC, xsh_parameters_get_double(), and xsh_parameters_get_string().
Referenced by xsh_absorp(), xsh_geom_ifu(), xsh_mbias(), xsh_mdark(), xsh_mflat(), xsh_respon_slit_nod(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), and xsh_scired_slit_stare().