Defines | |
| #define | MODULE_ID "XSH_EXTRACT" |
| #define | SYNTAX |
| #define | MODULE_ID "XSH_EXTRACT" |
| #define | SYNTAX |
Functions | |
| int | main (int argc, char **argv) |
| Unit test of xsh_extract. | |
| static void | analyse_extraction (cpl_frame *rec_frame, xsh_instrument *instr) |
| #define MODULE_ID "XSH_EXTRACT" |
Definition at line 65 of file test-xsh_data_spectrum_order_1D.c.
| #define MODULE_ID "XSH_EXTRACT" |
Definition at line 65 of file test-xsh_data_order_2D.c.
| #define SYNTAX |
"Test a spectrum order 1D file\n"\ "use : ./test_xsh_data_spectrum_order_1D FRAME\n"\ "FRAME => the spectrum order 1D frame\n"
Definition at line 67 of file test-xsh_data_spectrum_order_1D.c.
| #define SYNTAX |
"Invert an order 2D file\n"\ "use : ./test_xsh_data_order_2D FRAME\n"\ "FRAME => the order 2D frame\n"
Definition at line 67 of file test-xsh_data_order_2D.c.
| static void analyse_extraction | ( | cpl_frame * | rec_frame, | |
| xsh_instrument * | instr | |||
| ) | [static] |
Definition at line 76 of file test-xsh_data_spectrum_order_1D.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().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Unit test of xsh_extract.
Definition at line 128 of file test-xsh_data_spectrum_order_1D.c.
References analyse_extraction(), check, instrument, MODULE_ID, SYNTAX, TEST_END, TESTS_INIT, XSH_ASSURE_NOT_NULL, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_free_frame(), xsh_instrument_free(), and xsh_instrument_new().
1.6.1