Defines | |
| #define | MODULE_ID "XSH_SPECTRUM_MERGE3D" |
Enumerations | |
| enum | { ZSTEP_OPT, ZCHUNK_HSIZE_OPT, ZMETHOD_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, int *zstep, int *zchunk_hsize, int *zmethod) |
| int | main (int argc, char **argv) |
| Unit test of xsh_opt_extract. | |
Variables | |
| static const char * | Options = "" |
| static struct option | long_options [] |
| #define MODULE_ID "XSH_SPECTRUM_MERGE3D" |
Definition at line 63 of file test-xsh_data_spectrum_merge_3d.c.
| anonymous enum |
Definition at line 67 of file test-xsh_data_spectrum_merge_3d.c.
| static void HandleOptions | ( | int | argc, | |
| char ** | argv, | |||
| int * | zstep, | |||
| int * | zchunk_hsize, | |||
| int * | zmethod | |||
| ) | [static] |
Definition at line 94 of file test-xsh_data_spectrum_merge_3d.c.
References Help(), long_options, Options, ZCHUNK_HSIZE_OPT, ZMETHOD_OPT, and ZSTEP_OPT.
| static void Help | ( | void | ) | [static] |
Definition at line 78 of file test-xsh_data_spectrum_merge_3d.c.
References TEST_END.
Referenced by HandleOptions(), and main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Unit test of xsh_opt_extract.
Definition at line 126 of file test-xsh_data_spectrum_merge_3d.c.
References check, xsh_pre_3d::data_header, Help(), instrument, MODULE_ID, sigma, TEST_END, TESTS_INIT, TESTS_XSH_FRAME_CREATE, x, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_error_reset, XSH_FREE, xsh_free_frame(), xsh_free_image(), xsh_image_3d_get_data(), xsh_image_3d_get_size_x(), xsh_image_3d_get_size_y(), xsh_image_3d_get_size_z(), XSH_MALLOC, xsh_msg, xsh_pfits_get_cdelt1(), xsh_pfits_get_cdelt2(), xsh_pfits_get_cdelt3(), xsh_pfits_get_crpix1(), xsh_pfits_get_crpix2(), xsh_pfits_get_crpix3(), xsh_pfits_get_crval1(), xsh_pfits_get_crval2(), xsh_pfits_get_crval3(), xsh_pre_3d_free(), xsh_pre_3d_get_data(), xsh_pre_3d_load(), xsh_unwrap_vector(), and y.
struct option long_options[] [static] |
{
{"z-step", required_argument, 0, ZSTEP_OPT},
{"z-chunk-hsize", required_argument, 0, ZCHUNK_HSIZE_OPT},
{"z-method", required_argument, 0, ZMETHOD_OPT},
{0, 0, 0, 0}
}
Definition at line 71 of file test-xsh_data_spectrum_merge_3d.c.
Referenced by HandleOptions().
const char* Options = "" [static] |
Definition at line 65 of file test-xsh_data_spectrum_merge_3d.c.
Referenced by HandleOptions().
1.6.1