#include <xsh_parameters.h>
#include <xsh_msg.h>
#include <xsh_error.h>
#include <xsh_drl.h>
#include <strings.h>
Go to the source code of this file.
Data Structures | |
struct | XSH_KERNEL_TYPE |
Functions | |
void | xsh_parameters_new_int (cpl_parameterlist *list, const char *recipe_id, const char *name, int value, const char *comment) |
void | xsh_parameters_new_boolean (cpl_parameterlist *list, const char *recipe_id, const char *name, int value, const char *comment) |
static void | xsh_parameters_new_string (cpl_parameterlist *list, const char *recipe_id, const char *name, const char *value, const char *comment) |
void | xsh_parameters_new_double (cpl_parameterlist *list, const char *recipe_id, const char *name, double value, const char *comment) |
static void | xsh_parameters_new_bool (cpl_parameterlist *list, const char *recipe_id, const char *name, bool value, const char *comment) |
static void | xsh_parameters_new_float (cpl_parameterlist *list, const char *recipe_id, const char *name, float value, const char *comment) |
static void | xsh_parameters_new_range_int (cpl_parameterlist *list, const char *recipe_id, const char *name, int def, int min, int max, const char *comment) |
static void | xsh_parameters_new_range_double (cpl_parameterlist *list, const char *recipe_id, const char *name, double def, double min, double max, const char *comment) |
static char * | xsh_parameters_get_string (const cpl_parameterlist *list, const char *recipe_id, const char *name) |
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) |
| |
static const XSH_KERNEL_TYPE | xsh_ker_type [] |
cpl_parameter * | xsh_parameters_find (cpl_parameterlist *list, const char *recipe_id, const char *name) |
find a parameter | |
void | xsh_parameters_pre_overscan (const char *recipe_id, cpl_parameterlist *plist) |
void | xsh_parameters_generic (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) |
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 | |
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_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_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_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 | |
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_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 | |
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_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) |
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_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_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_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_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. | |
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) |
void | xsh_parameters_wavecal_margin_create (const char *recipe_id, cpl_parameterlist *list) |
int | xsh_parameters_wavecal_margin_get (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_use_model_create (const char *recipe_id, cpl_parameterlist *plist) |
int | xsh_parameters_use_model_get (const char *recipe_id, const cpl_parameterlist *plist) |
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) |
static void | set_rectify_kernel_type (xsh_rectify_param *recpar) |
static const char * | get_ker_default (void) |
void | xsh_parameters_rectify_create (const char *recipe_id, cpl_parameterlist *plist, xsh_rectify_param p) |
int | xsh_parameters_rectify_fast_get (const char *recipe_id, cpl_parameterlist *list) |
xsh_rectify_param * | xsh_parameters_rectify_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_extract_create (const char *recipe_id, cpl_parameterlist *plist, xsh_extract_param p, enum extract_method method) |
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_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) |
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) |
double | xsh_parameters_subtract_sky_single_get_ron (const char *recipe_id, cpl_parameterlist *list) |
double | xsh_parameters_subtract_sky_single_get_gain (const char *recipe_id, cpl_parameterlist *list) |
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 p) |
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, const char *recipe_id) |
static const char* get_ker_default | ( | void | ) | [static] |
Definition at line 2009 of file xsh_parameters.c.
References XSH_KERNEL_TYPE::name, and XSH_KERNEL_TYPE::type.
Referenced by xsh_parameters_rectify_create().
static void set_rectify_kernel_type | ( | xsh_rectify_param * | recpar | ) | [static] |
Definition at line 1995 of file xsh_parameters.c.
References xsh_rectify_param::kernel_type, XSH_KERNEL_TYPE::name, xsh_rectify_param::rectif_kernel, and XSH_KERNEL_TYPE::type.
Referenced by xsh_parameters_rectify_get().
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 1078 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_geom_ifu_create(), xsh_mflat_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().
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 1165 of file xsh_parameters.c.
References check, xsh_background_param::debug, xsh_background_param::max_frac_grid, xsh_background_param::method, xsh_background_param::min_frac_grid, xsh_background_param::radius_x, xsh_background_param::radius_y, xsh_background_param::sampley, xsh_background_param::smooth_x, xsh_background_param::smooth_y, 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_geom_ifu(), xsh_mflat(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_slit_offset_get_params(), 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 471 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_geom_ifu_create(), xsh_mbias_create(), xsh_mdark_create(), xsh_mflat_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().
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 746 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(), xsh_mbias(), xsh_mdark(), xsh_mflat(), xsh_respon_slit_nod(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_slit_offset_get_params(), and xsh_slit_stare_get_params().
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 1430 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 1474 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 1356 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 1395 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 789 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 826 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 1721 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 1753 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 1650 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 1682 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 2842 of file xsh_parameters.c.
References assure, check, COMBINE_METHOD_PRINT, xsh_combine_nod_param::method, 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, xsh_combine_nod_param::nod_min, xsh_combine_nod_param::throwname, xsh_parameters_new_boolean(), xsh_parameters_new_double(), xsh_parameters_new_int(), 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 2889 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::nod_clip, xsh_combine_nod_param::nod_clip_diff, xsh_combine_nod_param::nod_clip_niter, xsh_combine_nod_param::nod_clip_sigma, xsh_combine_nod_param::nod_min, xsh_combine_nod_param::throwname, xsh_error_msg, xsh_parameters_get_boolean(), xsh_parameters_get_double(), xsh_parameters_get_int(), 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 2135 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 2152 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, | |
const char * | recipe_id | |||
) |
Definition at line 3126 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL_MSG, xsh_msg_error, xsh_parameters_new_bool(), xsh_parameters_new_float(), xsh_parameters_new_int(), and xsh_parameters_new_string().
Referenced by xsh_mdark().
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 1015 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_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 1047 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 420 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 set_masterbias_qc_structure(), xsh_begin(), xsh_cfg_recover_last_step(), and xsh_cfg_recover_measure_tab_xy_peaks().
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 1216 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_GAUSSIAN_METHOD, xsh_parameters_new_boolean(), 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 1296 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_boolean(), 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 1511 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 1598 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 869 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 | |||
) |
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 963 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 2776 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 2809 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 2546 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().
Referenced by xsh_respon_slit_stare(), and xsh_scired_slit_stare().
void xsh_parameters_extract_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_extract_param | p, | |||
enum extract_method | method | |||
) |
Definition at line 2302 of file xsh_parameters.c.
References check, EXTRACT_METHOD_PRINT, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_string().
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_extract_param* xsh_parameters_extract_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2318 of file xsh_parameters.c.
References check, 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(), xsh_slit_offset_get_params(), and xsh_slit_stare_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 332 of file xsh_parameters.c.
References check.
Referenced by xsh_mdark_get_contam(), xsh_params_set_defaults(), xsh_respon_slit_nod_create(), xsh_respon_slit_offset_create(), xsh_respon_slit_stare_create(), xsh_scired_ifu_offset_create(), xsh_scired_nod_params_set_defaults(), xsh_scired_slit_nod_create(), xsh_scired_slit_offset_create(), and xsh_scired_slit_stare_create().
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 706 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 382 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_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_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 3094 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 3109 of file xsh_parameters.c.
References XSH_ASSURE_NOT_NULL, and xsh_parameters_get_boolean().
int xsh_parameters_get_boolean | ( | const cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 258 of file xsh_parameters.c.
Referenced by xsh_2dmap(), xsh_flexcomp(), xsh_geom_ifu(), xsh_mdark(), xsh_parameters_background_get(), xsh_parameters_combine_nod_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_detect_order_get(), xsh_parameters_dosky_domap_get(), xsh_parameters_geom_ifu_mode_get(), xsh_parameters_localize_obj_get(), xsh_parameters_rectify_fast_get(), xsh_parameters_rectify_get(), xsh_parameters_subtract_sky_single_get_true(), xsh_parameters_time_stamp_get(), xsh_respon_slit_nod(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_slit_offset_get_params(), and xsh_slit_stare_get_params().
double xsh_parameters_get_double | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 298 of file xsh_parameters.c.
Referenced by xsh_geom_ifu(), 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_combine_nod_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_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_gain(), xsh_parameters_subtract_sky_single_get_kappa(), xsh_parameters_subtract_sky_single_get_ron(), and xsh_parameters_wavecal_s_n_get().
int xsh_parameters_get_int | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) |
Definition at line 279 of file xsh_parameters.c.
Referenced by set_masterdark_qc(), xsh_2dmap(), xsh_flexcomp(), xsh_mdark(), xsh_mdark_get_contam(), xsh_mflat(), xsh_orderpos(), 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_combine_nod_get(), xsh_parameters_detect_arclines_get(), xsh_parameters_detect_continuum_get(), xsh_parameters_detect_order_get(), xsh_parameters_dispersol_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_predict(), and xsh_slit_stare_get_params().
static char* xsh_parameters_get_string | ( | const cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name | |||
) | [static] |
Definition at line 240 of file xsh_parameters.c.
Referenced by xsh_parameters_background_get(), 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(), and xsh_parameters_use_model_get().
int xsh_parameters_get_temporary | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 404 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 509 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(), and xsh_mbias_create().
void xsh_parameters_localize_obj_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_localize_obj_param | p | |||
) |
Definition at line 2182 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_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(), 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 2244 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_geom_ifu(), 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 2688 of file xsh_parameters.c.
References check, 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(), xsh_scired_slit_stare_create(), and xsh_util_apply_response_create().
xsh_merge_param* xsh_parameters_merge_ord_get | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2704 of file xsh_parameters.c.
References check, xsh_merge_param::method, XSH_ASSURE_NOT_NULL, XSH_FREE, XSH_MALLOC, and xsh_parameters_get_int().
Referenced by xsh_scired_nod_get_parameters(), xsh_slit_offset_get_params(), xsh_slit_stare_get_params(), and xsh_util_apply_response().
static void xsh_parameters_new_bool | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
bool | value, | |||
const char * | comment | |||
) | [static] |
Definition at line 141 of file xsh_parameters.c.
Referenced by xsh_parameters_create_from_drs_table().
void xsh_parameters_new_boolean | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
int | value, | |||
const char * | comment | |||
) |
Definition at line 71 of file xsh_parameters.c.
References check, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_2dmap_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_parameters_background_create(), xsh_parameters_combine_nod_create(), xsh_parameters_detect_arclines_create(), xsh_parameters_detect_order_create(), xsh_parameters_generic(), xsh_parameters_geom_ifu_mode_create(), xsh_parameters_hot_cold_pix_create(), xsh_parameters_localize_obj_create(), xsh_parameters_rectify_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(), and xsh_scired_slit_stare_create().
void xsh_parameters_new_double | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
double | value, | |||
const char * | comment | |||
) |
Definition at line 118 of file xsh_parameters.c.
Referenced by xsh_2dmap_create(), xsh_flexcomp_create(), xsh_geom_ifu_create(), xsh_mdark_create(), xsh_parameters_background_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_combine_nod_create(), xsh_parameters_compute_response_create(), xsh_parameters_d2_detect_order_create(), xsh_parameters_detect_arclines_create(), xsh_parameters_detect_continuum_create(), xsh_parameters_detect_order_create(), xsh_parameters_hot_cold_pix_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_subtract_sky_single_create(), xsh_parameters_wavecal_s_n_create(), xsh_predict_create(), xsh_respon_slit_nod_create(), and xsh_scired_slit_nod_create().
static void xsh_parameters_new_float | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
float | value, | |||
const char * | comment | |||
) | [static] |
Definition at line 164 of file xsh_parameters.c.
Referenced by xsh_parameters_create_from_drs_table().
void xsh_parameters_new_int | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
int | value, | |||
const char * | comment | |||
) |
Definition at line 48 of file xsh_parameters.c.
Referenced by xsh_2dmap_create(), xsh_flexcomp_create(), xsh_parameters_background_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_combine_nod_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_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().
static void xsh_parameters_new_range_double | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
double | def, | |||
double | min, | |||
double | max, | |||
const char * | comment | |||
) | [static] |
Definition at line 213 of file xsh_parameters.c.
Referenced by xsh_parameters_clipping_dcn_create().
static void xsh_parameters_new_range_int | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
int | def, | |||
int | min, | |||
int | max, | |||
const char * | comment | |||
) | [static] |
Definition at line 186 of file xsh_parameters.c.
Referenced by xsh_parameters_hot_cold_pix_create(), xsh_parameters_wavecal_margin_create(), and xsh_parameters_wavecal_range_create().
static void xsh_parameters_new_string | ( | cpl_parameterlist * | list, | |
const char * | recipe_id, | |||
const char * | name, | |||
const char * | value, | |||
const char * | comment | |||
) | [static] |
Definition at line 92 of file xsh_parameters.c.
References assure, check, XSH_FREE, and xsh_stringcat_any().
Referenced by xsh_parameters_combine_nod_create(), xsh_parameters_create_from_drs_table(), xsh_parameters_detect_arclines_create(), xsh_parameters_extract_create(), xsh_parameters_generic(), xsh_parameters_localize_obj_create(), xsh_parameters_opt_extract_create(), xsh_parameters_rectify_create(), xsh_parameters_ron_create(), xsh_parameters_subtract_sky_single_create(), and xsh_parameters_use_model_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 2950 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_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 3002 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 2731 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_new_double().
Referenced by xsh_respon_slit_offset_create(), xsh_scired_ifu_offset_create(), and xsh_scired_slit_offset_create().
double xsh_parameters_optimal_extract_get_kappa | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2747 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_double().
Referenced by xsh_slit_offset_get_params().
void xsh_parameters_pre_overscan | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist | |||
) |
Definition at line 348 of file xsh_parameters.c.
References check, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_2dmap_create(), xsh_flexcomp_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_slit_nod_create(), xsh_scired_slit_offset_create(), xsh_scired_slit_stare_create(), and xsh_wavecal_create().
void xsh_parameters_rectify_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist, | |||
xsh_rectify_param | p | |||
) |
Definition at line 2020 of file xsh_parameters.c.
References check, xsh_rectify_param::conserve_flux, get_ker_default(), 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, XSH_ASSURE_NOT_NULL, xsh_parameters_new_boolean(), xsh_parameters_new_double(), and xsh_parameters_new_string().
Referenced by 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 2074 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 2089 of file xsh_parameters.c.
References assure, check, xsh_rectify_param::conserve_flux, 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_boolean(), 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 572 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 600 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 1917 of file xsh_parameters.c.
References check, xsh_remove_crh_single_param::crh_frac_max, 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_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(), 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 1945 of file xsh_parameters.c.
References check, xsh_remove_crh_single_param::crh_frac_max, 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_ifu_stare(), 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 663 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 628 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 3051 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 3071 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_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 550 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 2360 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::gain, 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, xsh_subtract_sky_single_param::ron, 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(), and xsh_parameters_new_string().
Referenced by 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 2447 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::gain, 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, xsh_subtract_sky_single_param::ron, 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 2582 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_gain | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2667 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_double().
double xsh_parameters_subtract_sky_single_get_kappa | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2634 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 2616 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_int().
double xsh_parameters_subtract_sky_single_get_ron | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2651 of file xsh_parameters.c.
References check, XSH_ASSURE_NOT_NULL, and xsh_parameters_get_double().
int xsh_parameters_subtract_sky_single_get_second | ( | const char * | recipe_id, | |
cpl_parameterlist * | list | |||
) |
Definition at line 2599 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 2533 of file xsh_parameters.c.
References check, and xsh_parameters_get_boolean().
Referenced by xsh_parameters_dosky_domap_get().
char* xsh_parameters_test_mode_get | ( | const char * | recipe_id, | |
const cpl_parameterlist * | list | |||
) |
Definition at line 440 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 450 of file xsh_parameters.c.
References xsh_parameters_get_boolean(), and xsh_time_stamp_set().
Referenced by xsh_begin().
void xsh_parameters_use_model_create | ( | const char * | recipe_id, | |
cpl_parameterlist * | plist | |||
) |
Definition at line 1882 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 * | plist | |||
) |
Definition at line 1896 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 1816 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 1834 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 1784 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 1802 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 1848 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 1866 of file xsh_parameters.c.
References assure, check, and xsh_parameters_get_double().
Referenced by xsh_wavecal_get_parameters().
const XSH_KERNEL_TYPE xsh_ker_type[] [static] |
{ {"tanh", CPL_KERNEL_TANH}, {"sinc", CPL_KERNEL_SINC}, {"sinc2", CPL_KERNEL_SINC2}, {"lanczos", CPL_KERNEL_LANCZOS}, {"hamming", CPL_KERNEL_HAMMING}, {"hann", CPL_KERNEL_HANN}, {NULL, 0} }
Definition at line 1985 of file xsh_parameters.c.