Testing of the startup
[Unit Tests]

Defines

#define MODULE_ID   "XSH_CPL_FIT"
#define MODULE_ID   "XSH_DETECT_LINE_POS"
#define MODULE_ID   "XSH_CPL_FIT"
#define MODULE_ID   "XSH_TOOLS_PERF"

Functions

int main (int argc, char **argv)
 Some test about performances.
static cpl_error_code xsh_add_fits_key_min_set (cpl_propertylist *plist)
static void xsh_gfit_tests (void)
void test_tech_eval_perf (int indice, double val)
 Some test about performances.

Detailed Description

Test some tools functions for performances check


Define Documentation

#define MODULE_ID   "XSH_TOOLS_PERF"

Definition at line 53 of file test-xsh_tools_perf.c.

#define MODULE_ID   "XSH_CPL_FIT"

Definition at line 55 of file test-xsh_startup.c.

#define MODULE_ID   "XSH_DETECT_LINE_POS"

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

#define MODULE_ID   "XSH_CPL_FIT"

Definition at line 53 of file test-cpl_image_fit_gaussian.c.

Referenced by main().


Function Documentation

int main ( int  argc,
char **  argv 
)

Some test about performances.

Unit test of XSH_DETECT_ARCLINES.

Unit test of xsh_resid_tab.

Unit test of xsh_remove_crh_single.

Unit test of XSH_PREPARE.

Unit test of xsh_opt_extract.

Unit test of PRE module.

Unit test of xsh_rectify. Needs the PRE frame, order table, wave solution, instrument, rectify parameters, the map.

Unit test of xsh_flat_merge.

Unit test of xsh_data_wave_tab_2d.

Unit test of xsh_data_star_flux.

Unit test of xsh_extract.

Returns:
0 if success
0 if tests passed successfully

Test the PRE module.

Returns:
0 if tests passed successfully

Test the Data Reduction Library function XSH_PREPARE

Returns:
0 if success

Test behaviour of xsh_remove_crh_single function.

Returns:
0 if tests passed successfully

Test the Data Reduction Library function XSH_DETECT_ARCLINES

Definition at line 64 of file test-xsh_tools_perf.c.

References check, MODULE_ID, TEST_END, test_tech_eval_perf(), TESTS_INIT, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), and xsh_error_dump.

void test_tech_eval_perf ( int  indice,
double  val 
)

Some test about performances.

Returns:

Definition at line 82 of file test-xsh_tools_perf.c.

References check, XSH_ASSURE_NOT_ILLEGAL, xsh_free_vector(), xsh_msg, and xsh_tools_tchebitchev_poly_eval().

Referenced by main().

static cpl_error_code xsh_add_fits_key_min_set ( cpl_propertylist *  plist  )  [static]
static void xsh_gfit_tests ( void   )  [static]

Definition at line 83 of file test-xsh_startup.c.

References check, size, xsh_free_image(), xsh_image_find_barycenter(), and xsh_msg.


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