Defines | |
| #define | MODULE_ID "XSH_SPECTRUM_MERGE3D" |
Enumerations | |
| enum | { ZCHUNK_HSIZE_OPT } |
Functions | |
| static void | Help (void) |
| static void | HandleOptions (int argc, char **argv, int *zchunk_hsize) |
| 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 * | zchunk_hsize | |||
| ) | [static] |
Definition at line 100 of file test-xsh_data_spectrum_merge_3d.c.
References Help(), long_options, Options, and ZCHUNK_HSIZE_OPT.
Referenced by main().
| static void Help | ( | void | ) | [static] |
Definition at line 76 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, create_instrument(), xsh_pre_3d::data_header, HandleOptions(), Help(), instrument, M_PI, MODULE_ID, sigma, TEST_END, TESTS_INIT, TESTS_XSH_FRAME_CREATE, x, xsh_center_cube(), XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_error_reset, XSH_FREE, xsh_free_frame(), xsh_free_image(), xsh_gsl_fit_gaussian(), xsh_gsl_init_gaussian_fit(), xsh_image_3d_get_data(), xsh_image_3d_get_size_x(), xsh_image_3d_get_size_y(), xsh_image_3d_get_size_z(), xsh_instrument_free(), xsh_instrument_set_mode(), XSH_MALLOC, XSH_MATH_SQRT_2, XSH_MODE_IFU, 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] |
{
{"lambda-chunk-hsize", required_argument, 0, ZCHUNK_HSIZE_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