|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_ATROUS" |
| #define | MODULE_ID "XSH_COMPUTE_ABSORP" |
| #define | MODULE_ID "XSH_GAUSSIAN_FIT" |
| #define | MODULE_ID "XSH_LOCALIZE_OBJ" |
| #define | MODULE_ID "XSH_MARK_TELL" |
| #define | MODULE_ID "XSH_REMOVE_CRH_SINGLE" |
Enumerations | |
| enum | { NSCALES_OPT , HELP_OPT } |
| enum | { FILTER_HSIZE_OPT , THRESH_OPT , HELP_OPT } |
| enum | { HELP_OPT } |
| enum | { NBCHUNK_OPT , TRESHOLD_OPT , DEG_POLY_OPT , METHOD_OPT , SLIT_POS_OPT , SLIT_HHEIGHT_OPT , KAPPA_OPT , NITER_OPT , SKYMASK_OPT , HELP_OPT } |
| enum | { HELP_OPT } |
| enum | { SIGMA_LIM_OPT , F_LIM_OPT , ITER_OPT , FRAC_MAX_OPT , DEBUG_OPT , HELP_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, int *nscales) |
| int | main (int argc, char **argv) |
| Unit test of xsh_localize_obj. | |
| static void | HandleOptions (int argc, char **argv, int *filter_hsize, double *threshold) |
| static void | HandleOptions (int argc, char **argv) |
| static void | HandleOptions (int argc, char **argv, xsh_localize_obj_param *loc_par, char **skymask_name) |
| static void | analyse_localization (cpl_frame *merge_frame, cpl_frame *loc_frame, xsh_instrument *instr) |
| static void | analyse_spectrum (cpl_frame *spectrum_frame) |
| static void | HandleOptions (int argc, char **argv, xsh_remove_crh_single_param *single_par) |
Variables | |
| static struct option | long_options [] |
| static struct option | long_options [] |
| static struct option | long_options [] |
| static struct option | long_options [] |
| static struct option | long_options [] |
| static struct option | long_options [] |
| #define MODULE_ID "XSH_ATROUS" |
Definition at line 66 of file test-xsh_atrous.c.
| #define MODULE_ID "XSH_COMPUTE_ABSORP" |
Definition at line 58 of file test-xsh_compute_absorp.c.
| #define MODULE_ID "XSH_GAUSSIAN_FIT" |
Definition at line 70 of file test-xsh_gaussian_fit.c.
| #define MODULE_ID "XSH_LOCALIZE_OBJ" |
Definition at line 66 of file test-xsh_localize_obj.c.
| #define MODULE_ID "XSH_MARK_TELL" |
Definition at line 58 of file test-xsh_mark_tell.c.
| #define MODULE_ID "XSH_REMOVE_CRH_SINGLE" |
Definition at line 63 of file test-xsh_remove_crh_single.c.
| anonymous enum |
| Enumerator | |
|---|---|
| FILTER_HSIZE_OPT | |
| THRESH_OPT | |
| HELP_OPT | |
Definition at line 60 of file test-xsh_compute_absorp.c.
| anonymous enum |
| Enumerator | |
|---|---|
| HELP_OPT | |
Definition at line 72 of file test-xsh_gaussian_fit.c.
| anonymous enum |
| Enumerator | |
|---|---|
| NBCHUNK_OPT | |
| TRESHOLD_OPT | |
| DEG_POLY_OPT | |
| METHOD_OPT | |
| SLIT_POS_OPT | |
| SLIT_HHEIGHT_OPT | |
| KAPPA_OPT | |
| NITER_OPT | |
| SKYMASK_OPT | |
| HELP_OPT | |
Definition at line 68 of file test-xsh_localize_obj.c.
| anonymous enum |
| Enumerator | |
|---|---|
| HELP_OPT | |
Definition at line 60 of file test-xsh_mark_tell.c.
| anonymous enum |
| Enumerator | |
|---|---|
| SIGMA_LIM_OPT | |
| F_LIM_OPT | |
| ITER_OPT | |
| FRAC_MAX_OPT | |
| DEBUG_OPT | |
| HELP_OPT | |
Definition at line 85 of file test-xsh_remove_crh_single.c.
| anonymous enum |
| Enumerator | |
|---|---|
| NSCALES_OPT | |
| HELP_OPT | |
Definition at line 68 of file test-xsh_atrous.c.
|
static |
Definition at line 183 of file test-xsh_localize_obj.c.
References xsh_localization::cenpoly, check, xsh_localization::edglopoly, xsh_localization::edguppoly, xsh_spectrum::lambda_min, xsh_spectrum::lambda_step, xsh_spectrum::size_lambda, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_localization_free(), xsh_localization_load(), xsh_merge_ord(), xsh_msg, xsh_spectrum_free(), and xsh_spectrum_load().
|
static |
Definition at line 105 of file test-xsh_mark_tell.c.
References check, xsh_spectrum::lambda_min, xsh_spectrum::lambda_step, xsh_spectrum::size, XSH_ASSURE_NOT_NULL, xsh_msg, xsh_spectrum_free(), xsh_spectrum_get_flux(), xsh_spectrum_get_qual(), and xsh_spectrum_load().
|
static |
Definition at line 94 of file test-xsh_gaussian_fit.c.
References Help(), and long_options.
|
static |
Definition at line 87 of file test-xsh_compute_absorp.c.
References FILTER_HSIZE_OPT, Help(), long_options, THRESH_OPT, and threshold.
|
static |
Definition at line 92 of file test-xsh_atrous.c.
References Help(), long_options, and NSCALES_OPT.
Referenced by main().
|
static |
Definition at line 114 of file test-xsh_localize_obj.c.
References DEG_POLY_OPT, Help(), xsh_localize_obj_param::kappa, KAPPA_OPT, 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, long_options, xsh_localize_obj_param::method, METHOD_OPT, NBCHUNK_OPT, xsh_localize_obj_param::niter, NITER_OPT, SKYMASK_OPT, xsh_localize_obj_param::slit_hheight, SLIT_HHEIGHT_OPT, SLIT_POS_OPT, xsh_localize_obj_param::slit_position, TRESHOLD_OPT, xsh_localize_obj_param::use_skymask, and xsh_msg.
|
static |
Definition at line 104 of file test-xsh_remove_crh_single.c.
References xsh_remove_crh_single_param::crh_frac_max, DEBUG_OPT, xsh_remove_crh_single_param::f_lim, F_LIM_OPT, FRAC_MAX_OPT, Help(), ITER_OPT, long_options, xsh_remove_crh_single_param::nb_iter, xsh_remove_crh_single_param::sigma_lim, SIGMA_LIM_OPT, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, and xsh_debug_level_set().
|
static |
Definition at line 78 of file test-xsh_atrous.c.
References TEST_END.
Referenced by HandleOptions(), and main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Unit test of xsh_localize_obj.
Unit test of xsh_remove_crh_single.
Test behaviour of xsh_remove_crh_single function.
Definition at line 114 of file test-xsh_atrous.c.
References check, HandleOptions(), Help(), max, MODULE_ID, size, TEST_END, TESTS_INIT, xsh_atrous(), XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_free_matrix(), xsh_msg, and xsh_unwrap_vector().
|
static |
Definition at line 72 of file test-xsh_atrous.c.
Referenced by HandleOptions().
|
static |
Definition at line 64 of file test-xsh_compute_absorp.c.
Referenced by HandleOptions().
|
static |
Definition at line 76 of file test-xsh_gaussian_fit.c.
Referenced by HandleOptions().
|
static |
Definition at line 73 of file test-xsh_localize_obj.c.
Referenced by HandleOptions().
|
static |
Definition at line 64 of file test-xsh_mark_tell.c.
Referenced by HandleOptions().
|
static |
Definition at line 94 of file test-xsh_remove_crh_single.c.
Referenced by HandleOptions().