Test Prepare functions
[Unit Tests]

Defines

#define MODULE_ID   "XSH_DATA_SPECTRALFORMAT"
#define SYNTAX
#define MODULE_ID   "XSH_PREPARE"
#define SYNTAX

Functions

int main (int argc, char **argv)
 Test the spectral format.

Define Documentation

#define MODULE_ID   "XSH_PREPARE"

Definition at line 57 of file test-xsh_prepare.c.

#define MODULE_ID   "XSH_DATA_SPECTRALFORMAT"

Definition at line 57 of file test-xsh_data_spectralformat.c.

#define SYNTAX
Value:
"Test the xsh_prepare function \n"\
  "  transform RAW frames from a sof in PRE files\n"\
  "use : ./test_xsh_prepare SOF\n"\
  "  SOF   => the raw data FITS file\n"

Definition at line 59 of file test-xsh_prepare.c.

#define SYNTAX
Value:
"Test the xsh_data_spectralformat function \n"\
  "  analyse SPECTRAL_FORMAT tab frames\n"\
  "use : ./test_xsh_data_spectralformat SOF\n"\
  "  SOF   => [SPECTRAL_FORMAT, ORDER_TAB_EDGES, WAVE_TAB_2D|MODEL ]\n"

Definition at line 59 of file test-xsh_data_spectralformat.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Test the spectral format.

Unit test of XSH_PREPARE.

Returns:
0 if tests passed successfully
0 if tests passed successfully

Test the Data Reduction Library function XSH_PREPARE

Definition at line 78 of file test-xsh_prepare.c.

References check, instrument, MODULE_ID, sof_to_frameset(), SYNTAX, TEST_END, TESTS_INIT, XSH_ASSURE_NOT_NULL, XSH_BIAS_UVB, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_dfs_set_groups(), xsh_dfs_split_in_group(), xsh_error_dump, xsh_find_bpmap(), xsh_find_master_bias(), xsh_free_frameset(), xsh_instrument_free(), xsh_msg, XSH_NEW_FRAMESET, xsh_pre_free(), xsh_pre_load(), xsh_prepare(), and xsh_test_create_frame().


Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1