|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_DETECT_ARCLINES" |
| #define | SYNTAX |
| #define | MODULE_ID "XSH_SUBTRACT_SKY_SINGLE" |
| #define | SYNTAX |
Enumerations | |
| enum | { HALF_WINDOW_SIZE_OPT , HALF_WINDOW_SIZE_FOR_MAX_OPT , DEG_LAMBDA_OPT , DEG_ORDER_OPT , DEG_SLIT_OPT , POLY_DEGREE_OPT , MIN_SN_OPT , CLIP_SIGMA_OPT , CLIP_NITER_OPT , CLIP_FRAC_OPT , INITIAL_CENTER_OPT , HALF_WINDOW_SIZE_RUNNING_MEDIAN_OPT } |
| enum | { NBKPTS_OPT , METHOD_OPT , POS1_OPT , HHEIGHT1_OPT , POS2_OPT , HHEIGHT2_OPT , DEBUG_OPT } |
Functions | |
| static void | HandleOptions (int argc, char **argv, xsh_detect_arclines_param *det_arc_par, xsh_clipping_param *clip_par) |
| int | main (int argc, char **argv) |
| Unit test of XSH_DETECT_ARCLINES. | |
| static void | HandleOptions (int argc, char **argv, xsh_subtract_sky_single_param *sky_par) |
| static void | get_max_pos (cpl_frame *frame, xsh_instrument *instrument) |
Variables | |
| static struct option | long_options [] |
| static const char * | Options = "?" |
| static struct option | LongOptions [] |
| #define MODULE_ID "XSH_DETECT_ARCLINES" |
Definition at line 57 of file test-xsh_detect_arclines.c.
| #define MODULE_ID "XSH_SUBTRACT_SKY_SINGLE" |
Definition at line 57 of file test-xsh_subtract_sky_single.c.
| #define SYNTAX |
Definition at line 59 of file test-xsh_detect_arclines.c.
| #define SYNTAX |
Definition at line 59 of file test-xsh_subtract_sky_single.c.
| anonymous enum |
Definition at line 83 of file test-xsh_detect_arclines.c.
| anonymous enum |
| Enumerator | |
|---|---|
| NBKPTS_OPT | |
| METHOD_OPT | |
| POS1_OPT | |
| HHEIGHT1_OPT | |
| POS2_OPT | |
| HHEIGHT2_OPT | |
| DEBUG_OPT | |
Definition at line 79 of file test-xsh_subtract_sky_single.c.
|
static |
Definition at line 140 of file test-xsh_subtract_sky_single.c.
References xsh_pre::data, instrument, max, x, xsh_msg, xsh_pre_free(), xsh_pre_load(), and y.
|
static |
Definition at line 107 of file test-xsh_detect_arclines.c.
References CLIP_FRAC_OPT, CLIP_NITER_OPT, CLIP_SIGMA_OPT, DEG_LAMBDA_OPT, DEG_ORDER_OPT, DEG_SLIT_OPT, xsh_detect_arclines_param::fit_window_hsize, xsh_clipping_param::frac, HALF_WINDOW_SIZE_FOR_MAX_OPT, HALF_WINDOW_SIZE_OPT, HALF_WINDOW_SIZE_RUNNING_MEDIAN_OPT, long_options, xsh_detect_arclines_param::min_sn, MIN_SN_OPT, xsh_clipping_param::niter, xsh_detect_arclines_param::ordertab_deg_y, POLY_DEGREE_OPT, xsh_detect_arclines_param::running_median_hsize, xsh_detect_arclines_param::search_window_hsize, xsh_clipping_param::sigma, SYNTAX, xsh_detect_arclines_param::wavesol_deg_lambda, xsh_detect_arclines_param::wavesol_deg_order, and xsh_detect_arclines_param::wavesol_deg_slit.
Referenced by main().
|
static |
Definition at line 100 of file test-xsh_subtract_sky_single.c.
References DEBUG_OPT, xsh_subtract_sky_single_param::hheight1, HHEIGHT1_OPT, xsh_subtract_sky_single_param::hheight2, HHEIGHT2_OPT, LongOptions, xsh_subtract_sky_single_param::method, METHOD_OPT, xsh_subtract_sky_single_param::nbkpts1, NBKPTS_OPT, Options, xsh_subtract_sky_single_param::pos1, POS1_OPT, xsh_subtract_sky_single_param::pos2, POS2_OPT, SYNTAX, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, and xsh_debug_level_set().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Unit test of XSH_DETECT_ARCLINES.
Test the Data Reduction Library function XSH_DETECT_ARCLINES
Definition at line 187 of file test-xsh_detect_arclines.c.
References check, xsh_detect_arclines_param::fit_window_hsize, xsh_clipping_param::frac, HandleOptions(), instrument, xsh_detect_arclines_param::min_sn, MODULE_ID, xsh_clipping_param::niter, xsh_detect_arclines_param::ordertab_deg_y, QFLAG_OUTSIDE_DATA_RANGE, xsh_detect_arclines_param::running_median_hsize, xsh_detect_arclines_param::search_window_hsize, xsh_clipping_param::sigma, SYNTAX, TESTS_INIT, TESTS_XSH_FRAME_CREATE, TESTS_XSH_INSTRUMENT_CREATE, xsh_detect_arclines_param::wavesol_deg_lambda, xsh_detect_arclines_param::wavesol_deg_order, xsh_detect_arclines_param::wavesol_deg_slit, XSH_ARM_UVB, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_detect_arclines(), xsh_error_dump, XSH_LAMP_QTH, XSH_MODE_IFU, xsh_msg, and XSH_SOLUTION_RELATIVE.
|
static |
Definition at line 90 of file test-xsh_detect_arclines.c.
Referenced by HandleOptions().
|
static |
Definition at line 89 of file test-xsh_subtract_sky_single.c.
Referenced by HandleOptions().
|
static |
Definition at line 77 of file test-xsh_subtract_sky_single.c.
Referenced by HandleOptions().