Test Detect Continuum
[Unit Tests]

Defines

#define MODULE_ID   "XSH_DETECT_CONTINUUM"

Functions

static void verify_order_table (cpl_frame *result)
int main (void)

Variables

static const double poly0_coeff []
 Unit test of XSH_DETECT_CONTINUUM.
static const double step = 40.
static int nx = 400
static int ny = 400
static int starty = 10
static int endy = 380
static int dimension = 1
static int degree = 2
static int width = 10
static int norder = 3
static double exptime = 1.
static const char * img_name = "dtc_img.fits"
static const char * tbl_name = "dtc_tbl.fits"
static const char * dtc_pre_name = "dtc_img_pre.fits"

Define Documentation

#define MODULE_ID   "XSH_DETECT_CONTINUUM"

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


Function Documentation

int main ( void   ) 
static void verify_order_table ( cpl_frame *  result  )  [static]

Variable Documentation

int degree = 2 [static]
int dimension = 1 [static]
const char* dtc_pre_name = "dtc_img_pre.fits" [static]

Definition at line 85 of file test-xsh_detect_continuum.c.

Referenced by main().

int endy = 380 [static]
double exptime = 1. [static]
const char* img_name = "dtc_img.fits" [static]

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

Referenced by main().

int norder = 3 [static]

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

Referenced by main(), and xsh_order_list_save().

int nx = 400 [static]

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

int ny = 400 [static]

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

const double poly0_coeff[] [static]
Initial value:
 {
  280., 0.3, -0.0025 }

Unit test of XSH_DETECT_CONTINUUM.

Returns:
0 if tests passed successfully

Test the Data Reduction Library function XSH_DETECT_CONTINUUM

Definition at line 74 of file test-xsh_detect_continuum.c.

Referenced by main().

int starty = 10 [static]
const double step = 40. [static]
const char* tbl_name = "dtc_tbl.fits" [static]

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

Referenced by main().

int width = 10 [static]

Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1