Defines | |
| #define | MODULE_ID "XSH_MODEL_MAPS_CREATE" |
| #define | SYNTAX |
Enumerations | |
| enum | { BINX_OPT, BINY_OPT } |
Functions | |
| static void | HandleOptions (int argc, char **argv) |
| int | main (int argc, char **argv) |
Variables | |
| static const char * | Options = "?" |
| Unit test of xsh_model_maps_create. | |
| static struct option | LongOptions [] |
| static char | mode [32] |
| int | binx = 1 |
| int | biny = 1 |
| #define MODULE_ID "XSH_MODEL_MAPS_CREATE" |
Definition at line 64 of file test-xsh_model_maps_create.c.
| #define SYNTAX |
"Create a wave and a slit map from model\n"\ "use : ./test_xsh_model_maps_create SOF\n"\ "SOF => model config and arclist\n"\ "Options:\n"\ " --binx=<n> : binning in X (default 1)\n"\ " --biny=<n> : binning in Y (default 1)\n"
Definition at line 65 of file test-xsh_model_maps_create.c.
| anonymous enum |
Definition at line 89 of file test-xsh_model_maps_create.c.
| static void HandleOptions | ( | int | argc, | |
| char ** | argv | |||
| ) | [static] |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 132 of file test-xsh_model_maps_create.c.
References binx, biny, check, HandleOptions(), instrument, MODULE_ID, SYNTAX, TESTS_INIT, XSH_ASSURE_NOT_NULL, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_dfs_set_groups(), xsh_dfs_split_in_group(), xsh_error_dump, xsh_find_arc_line_list(), xsh_find_model_config_tab(), xsh_free_frame(), xsh_free_frameset(), xsh_instrument_free(), xsh_model_binxy(), xsh_model_config_load_best(), xsh_model_maps_create(), xsh_msg, and XSH_NEW_FRAMESET.
| int binx = 1 |
Definition at line 100 of file test-xsh_model_maps_create.c.
| int biny = 1 |
Definition at line 101 of file test-xsh_model_maps_create.c.
struct option LongOptions[] [static] |
{
{"binx", required_argument, 0, BINX_OPT},
{"biny", required_argument, 0, BINY_OPT},
{NULL, 0, 0, 0}
}
Definition at line 93 of file test-xsh_model_maps_create.c.
Referenced by HandleOptions().
char mode[32] [static] |
Definition at line 99 of file test-xsh_model_maps_create.c.
const char* Options = "?" [static] |
Unit test of xsh_model_maps_create.
Definition at line 87 of file test-xsh_model_maps_create.c.
Referenced by HandleOptions().
1.6.1