|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_DETECT_ORDER" |
| #define | MODULE_ID "XSH_RECTIFY" |
Enumerations | |
| enum | { SEARCH_WINDOW_HSIZE_OPT , FLUX_THRESH_OPT , MIN_SN_OPT , MIN_ORDER_SIZE_X_OPT , CHUNK_HSIZE_OPT , SLITLET_LOW_FACTOR_OPT , SLITLET_UP_FACTOR_OPT , FIXED_SLICE_OPT , METHOD_OPT , HELP_OPT } |
| enum | { KERNEL_OPT , RADIUS_OPT , BIN_LAMBDA_OPT , BIN_SPACE_OPT , HELP_OPT , MIN_ORDER_OPT , MAX_ORDER_OPT , SLIT_MIN_OPT , NSLIT_OPT , DEBUG_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, xsh_detect_order_param *detectorder_par) |
| int | main (int argc, char **argv) |
| Unit test of xsh_rectify. Needs the PRE frame, order table, wave solution, instrument, rectify parameters, the map. | |
| static void | HandleOptions (int argc, char **argv, xsh_rectify_param *rectify_par, int *order_min, int *order_max, double *slit_min, int *nslit) |
Variables | |
| static const char * | Options = "" |
| static struct option | long_options [] |
| static const char * | Options = "" |
| static struct option | long_options [] |
| #define MODULE_ID "XSH_DETECT_ORDER" |
Definition at line 67 of file test-xsh_detect_order.c.
| #define MODULE_ID "XSH_RECTIFY" |
Definition at line 67 of file test-xsh_rectify.c.
| anonymous enum |
| Enumerator | |
|---|---|
| SEARCH_WINDOW_HSIZE_OPT | |
| FLUX_THRESH_OPT | |
| MIN_SN_OPT | |
| MIN_ORDER_SIZE_X_OPT | |
| CHUNK_HSIZE_OPT | |
| SLITLET_LOW_FACTOR_OPT | |
| SLITLET_UP_FACTOR_OPT | |
| FIXED_SLICE_OPT | |
| METHOD_OPT | |
| HELP_OPT | |
Definition at line 72 of file test-xsh_detect_order.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 | |
| DEBUG_OPT | |
Definition at line 72 of file test-xsh_rectify.c.
|
static |
Definition at line 116 of file test-xsh_detect_order.c.
References xsh_detect_order_param::chunk_hsize, CHUNK_HSIZE_OPT, xsh_detect_order_param::fixed_slice, FIXED_SLICE_OPT, xsh_detect_order_param::flux_thresh, FLUX_THRESH_OPT, Help(), long_options, xsh_detect_order_param::method, METHOD_OPT, xsh_detect_order_param::min_order_size_x, MIN_ORDER_SIZE_X_OPT, xsh_detect_order_param::min_sn, MIN_SN_OPT, Options, xsh_detect_order_param::search_window_hsize, SEARCH_WINDOW_HSIZE_OPT, xsh_detect_order_param::slitlet_low_factor, SLITLET_LOW_FACTOR_OPT, xsh_detect_order_param::slitlet_up_factor, and SLITLET_UP_FACTOR_OPT.
Referenced by main().
|
static |
Definition at line 117 of file test-xsh_rectify.c.
References BIN_LAMBDA_OPT, BIN_SPACE_OPT, DEBUG_OPT, Help(), KERNEL_OPT, xsh_rectify_param::kernel_type, long_options, MAX_ORDER_OPT, MIN_ORDER_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, RECTIFY_KERNEL_PRINT, SLIT_MIN_OPT, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, XSH_DEBUG_LEVEL_NONE, xsh_debug_level_set(), and xsh_msg.
|
static |
Definition at line 94 of file test-xsh_detect_order.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 164 of file test-xsh_detect_order.c.
References check, xsh_detect_order_param::chunk_hsize, xsh_detect_order_param::fixed_slice, xsh_detect_order_param::flux_thresh, HandleOptions(), Help(), instrument, xsh_detect_order_param::method, xsh_detect_order_param::min_order_size_x, xsh_detect_order_param::min_sn, MODULE_ID, xsh_detect_order_param::search_window_hsize, xsh_detect_order_param::slitlet_low_factor, xsh_detect_order_param::slitlet_up_factor, sof_to_frameset(), TEST_END, TESTS_INIT, TESTS_XSH_FRAME_CREATE, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_detect_order_edge(), xsh_dfs_set_groups(), xsh_error_dump, xsh_find_order_tab_centr(), xsh_free_frame(), xsh_free_frameset(), xsh_instrument_free(), xsh_instrument_set_decode_bp(), and xsh_msg.
|
static |
Definition at line 80 of file test-xsh_detect_order.c.
Referenced by HandleOptions().
|
static |
Definition at line 80 of file test-xsh_rectify.c.
Referenced by HandleOptions().
|
static |
Definition at line 78 of file test-xsh_detect_order.c.
Referenced by HandleOptions().
|
static |
Definition at line 78 of file test-xsh_rectify.c.
Referenced by HandleOptions().