|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_COMBINE_NOD" |
Enumerations | |
| enum | { KERNEL_OPT , RADIUS_OPT , BIN_LAMBDA_OPT , BIN_SPACE_OPT , HELP_OPT , MIN_ORDER_OPT , MAX_ORDER_OPT , SLIT_MIN_OPT , NSLIT_OPT , USELOC_OPT , NOD_SET_OPT , NOD_ORDER_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, xsh_rectify_param *rectify_par, int *order_min, int *order_max, double *slit_min, int *nslit, int *use_loc, char **nod_set_name) |
| cpl_frame * | create_zero_rectify (cpl_frame *rec_frame, int iorder, xsh_instrument *instr) |
| void | analyse_rectify (cpl_frame *rec_frame, int iorder, xsh_instrument *instr) |
| int | main (int argc, char **argv) |
| Unit test of xsh_rectify. Needs the PRE frame, order table, wave solution, instrument, rectify parameters, the map. | |
Variables | |
| static const char * | Options = "" |
| static struct option | long_options [] |
| #define MODULE_ID "XSH_COMBINE_NOD" |
Definition at line 67 of file test-xsh_combine_nod.c.
| anonymous enum |
| Enumerator | |
|---|---|
| KERNEL_OPT | |
| RADIUS_OPT | |
| BIN_LAMBDA_OPT | |
| BIN_SPACE_OPT | |
| HELP_OPT | |
| MIN_ORDER_OPT | |
| MAX_ORDER_OPT | |
| SLIT_MIN_OPT | |
| NSLIT_OPT | |
| USELOC_OPT | |
| NOD_SET_OPT | |
| NOD_ORDER_OPT | |
Definition at line 72 of file test-xsh_combine_nod.c.
| void analyse_rectify | ( | cpl_frame * | rec_frame, |
| int | iorder, | ||
| xsh_instrument * | instr | ||
| ) |
Definition at line 222 of file test-xsh_combine_nod.c.
References check, XSH_ASSURE_NOT_NULL, xsh_rec_list_free(), xsh_rec_list_get_data1(), xsh_rec_list_get_nlambda(), xsh_rec_list_get_nslit(), xsh_rec_list_get_slit(), and xsh_rec_list_load().
Referenced by main().
| cpl_frame * create_zero_rectify | ( | cpl_frame * | rec_frame, |
| int | iorder, | ||
| xsh_instrument * | instr | ||
| ) |
Definition at line 168 of file test-xsh_combine_nod.c.
References check, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_msg, xsh_rec_list_free(), xsh_rec_list_get_data1(), xsh_rec_list_get_nlambda(), xsh_rec_list_get_nslit(), xsh_rec_list_load(), and xsh_rec_list_save().
Referenced by main().
|
static |
Definition at line 120 of file test-xsh_combine_nod.c.
References BIN_LAMBDA_OPT, BIN_SPACE_OPT, Help(), KERNEL_OPT, long_options, MAX_ORDER_OPT, MIN_ORDER_OPT, NOD_ORDER_OPT, NOD_SET_OPT, NSLIT_OPT, Options, RADIUS_OPT, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, xsh_rectify_param::rectif_kernel, xsh_rectify_param::rectif_radius, SLIT_MIN_OPT, and USELOC_OPT.
Referenced by main().
|
static |
Definition at line 96 of file test-xsh_combine_nod.c.
References TEST_END.
Referenced by HandleOptions(), and main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Unit test of xsh_rectify. Needs the PRE frame, order table, wave solution, instrument, rectify parameters, the map.
Definition at line 277 of file test-xsh_combine_nod.c.
References analyse_rectify(), check, xsh_rectify_param::conserve_flux, create_zero_rectify(), HandleOptions(), Help(), instrument, xsh_rectify_param::kernel_type, xsh_localize_obj_param::loc_chunk_nb, xsh_localize_obj_param::loc_deg_poly, LOC_MAXIMUM_METHOD, xsh_localize_obj_param::loc_thresh, xsh_localize_obj_param::method, mode, MODULE_ID, xsh_combine_nod_param::nod_clip, xsh_rectify_param::rectif_bin_lambda, xsh_rectify_param::rectif_bin_space, xsh_rectify_param::rectif_kernel, xsh_rectify_param::rectif_radius, shift_with_kw(), xsh_order_list::size, sof_to_frameset(), TEST_END, TESTS_INIT, xsh_combine_nod(), XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_dfs_set_groups(), xsh_error_dump, xsh_find_model_config_tab(), xsh_find_order_tab_edges(), xsh_find_spectral_format(), xsh_find_wave_tab_2d(), XSH_FREE, xsh_free_frame(), xsh_free_frameset(), XSH_GET_TAG_FROM_ARM, xsh_instrument_free(), xsh_instrument_get_mode(), xsh_instrument_set_decode_bp(), xsh_localize_obj(), XSH_MODE_SLIT, xsh_msg, XSH_ORDER2D, xsh_order_list_free(), xsh_order_list_get_index_by_absorder(), xsh_order_list_load(), xsh_rec_list_frame_invert(), xsh_rec_slit_size(), and xsh_rectify_orders().
|
static |
Definition at line 80 of file test-xsh_combine_nod.c.
Referenced by HandleOptions().
|
static |
Definition at line 78 of file test-xsh_combine_nod.c.
Referenced by HandleOptions().