|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_EXTRACT_CLEAN" |
| #define | MODULE_ID "XSH_EXTRACT_CLEAN_SYM" |
Enumerations | |
| enum | { DECODEBP_OPT , METHOD_OPT , DEBUG_OPT , HELP_OPT } |
| enum | { DECODEBP_OPT , METHOD_OPT , DEBUG_OPT , HELP_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, xsh_extract_param *extract_par, int *decode_bp) |
| static void | analyse_extraction (cpl_frame *rec_frame, xsh_instrument *instr) |
| int | main (int argc, char **argv) |
| Unit test of xsh_extract_clean. | |
| cpl_error_code | xsh_set_wcs (cpl_propertylist *header, const double crpix1, const double crval1, const double cdelt1, const double crpix2, const double crval2, const double cdelt2) |
| static cpl_frame * | xsh_extract_local_clean (cpl_frame *frame2D, xsh_instrument *instrument) |
Variables | |
| static struct option | long_options [] |
| static struct option | long_options [] |
| #define MODULE_ID "XSH_EXTRACT_CLEAN" |
Definition at line 66 of file test-xsh_extract_clean.c.
| #define MODULE_ID "XSH_EXTRACT_CLEAN_SYM" |
Definition at line 66 of file test-xsh_extract_clean_sym.c.
| anonymous enum |
| Enumerator | |
|---|---|
| DECODEBP_OPT | |
| METHOD_OPT | |
| DEBUG_OPT | |
| HELP_OPT | |
Definition at line 68 of file test-xsh_extract_clean.c.
| anonymous enum |
| Enumerator | |
|---|---|
| DECODEBP_OPT | |
| METHOD_OPT | |
| DEBUG_OPT | |
| HELP_OPT | |
Definition at line 68 of file test-xsh_extract_clean_sym.c.
|
static |
Definition at line 156 of file test-xsh_extract_clean.c.
References check, order, xsh_rec_list::size, XSH_ASSURE_NOT_NULL, xsh_msg, xsh_rec_list_free(), xsh_rec_list_get_data1(), xsh_rec_list_get_errs1(), xsh_rec_list_get_lambda(), xsh_rec_list_get_nlambda(), xsh_rec_list_get_order(), and xsh_rec_list_load().
Referenced by main().
|
static |
Definition at line 98 of file test-xsh_extract_clean.c.
References CLEAN_METHOD, DEBUG_OPT, DECODEBP_OPT, EXTRACT_METHOD_PRINT, FULL_METHOD, Help(), HELP_OPT, LOCALIZATION_METHOD, long_options, xsh_extract_param::method, METHOD_OPT, NOD_METHOD, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, xsh_debug_level_set(), and xsh_msg.
Referenced by main().
|
static |
Definition at line 80 of file test-xsh_extract_clean.c.
References TEST_END.
Referenced by HandleOptions(), and main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Unit test of xsh_extract_clean.
Definition at line 214 of file test-xsh_extract_clean.c.
References analyse_extraction(), check, CLEAN_METHOD, DECODE_BP_FLAG_DEF, HandleOptions(), Help(), instrument, MODULE_ID, TEST_END, TESTS_INIT, XSH_ASSURE_NOT_NULL, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_extract_clean(), xsh_free_frame(), xsh_free_propertylist(), xsh_instrument_free(), xsh_instrument_new(), xsh_instrument_set_arm(), xsh_instrument_set_decode_bp(), xsh_instrument_set_lamp(), xsh_instrument_set_mode(), XSH_LAMP_QTH, XSH_MODE_IFU, xsh_msg, xsh_pfits_get_arm(), and xsh_pfits_get_pcatg().
|
static |
Definition at line 175 of file test-xsh_extract_clean_sym.c.
References check, instrument, xsh_extract_clean_slice(), XSH_FREE, xsh_free_image(), xsh_free_propertylist(), xsh_free_table(), xsh_msg_debug, xsh_pfits_get_cdelt1(), xsh_pfits_get_crval1(), xsh_pfits_get_naxis1(), and xsh_pfits_get_naxis2().
| cpl_error_code xsh_set_wcs | ( | cpl_propertylist * | header, |
| const double | crpix1, | ||
| const double | crval1, | ||
| const double | cdelt1, | ||
| const double | crpix2, | ||
| const double | crval2, | ||
| const double | cdelt2 | ||
| ) |
Definition at line 150 of file test-xsh_extract_clean_sym.c.
References xsh_pfits_set_cd11(), xsh_pfits_set_cd12(), xsh_pfits_set_cd21(), and xsh_pfits_set_cd22().
|
static |
Definition at line 72 of file test-xsh_extract_clean.c.
Referenced by HandleOptions().
|
static |
Definition at line 72 of file test-xsh_extract_clean_sym.c.
Referenced by HandleOptions().