X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions
Test Object extraction

Macros

#define MODULE_ID   "XSH_BSPLINE"
 
#define N   200
 
#define NCOEFFS   12
 
#define NBREAK   (NCOEFFS -2)
 
#define MODULE_ID   "XSH_BSPLINE_INTERPOL"
 

Functions

int test_gsl_table (const char *fname)
 
int test_gsl_example ()
 
int main (int argc, char *const argv[])
 Unit test of xsh_bspline.
 
int main ()
 Unit test of xsh_bspline_interpol.
 

Detailed Description

Macro Definition Documentation

◆ MODULE_ID [1/2]

#define MODULE_ID   "XSH_BSPLINE"

Definition at line 75 of file test-xsh_bspline.c.

◆ MODULE_ID [2/2]

#define MODULE_ID   "XSH_BSPLINE_INTERPOL"

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

◆ N

#define N   200

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

◆ NBREAK

#define NBREAK   (NCOEFFS -2)

Definition at line 84 of file test-xsh_bspline.c.

◆ NCOEFFS

#define NCOEFFS   12

Definition at line 81 of file test-xsh_bspline.c.

Function Documentation

◆ main() [1/2]

int main ( void  )

Unit test of xsh_bspline_interpol.

Some test about performances.

Unit test of XSH_CREATE_MASTER.

Returns
0 if success
0 iff success

Test the Data Reduction Library function XSH_CREATE_MASTER

Returns

Definition at line 71 of file test-xsh_bspline_interpol.c.

References MODULE_ID, TEST_END, TESTS_INIT, x, xsh_error_dump, and y.

◆ main() [2/2]

int main ( int  argc,
char *const  argv[] 
)

Unit test of xsh_bspline.

Returns
0 if success

Definition at line 229 of file test-xsh_bspline.c.

References test_gsl_example(), and xsh_error_dump.

◆ test_gsl_example()

int test_gsl_example ( )

Definition at line 106 of file test-xsh_bspline.c.

References N, n, NBREAK, NCOEFFS, sigma, x, and y.

Referenced by main(), xsh_bspline_smooth_uniform(), and xsh_bspline_smooth_uniform_sl().

◆ test_gsl_table()

int test_gsl_table ( const char *  fname)

Definition at line 88 of file test-xsh_bspline.c.