Test combine nod function
[Unit Tests]

Defines

#define MODULE_ID   "XSH_COMBINE_NOD"

Enumerations

enum  {
  KERNEL_OPT, RADIUS_OPT, BIN_LAMBDA_OPT, BIN_SPACE_OPT,
  HELP_OPT, MIN_ORDER_OPT, MAX_ORDER_OPT, SLIT_MIN_OPT,
  NSLIT_OPT, USELOC_OPT, NOD_SET_OPT, NOD_ORDER_OPT
}

Functions

static void Help (void)
static void HandleOptions (int argc, char **argv, xsh_rectify_param *rectify_par, int *order_min, int *order_max, double *slit_min, int *nslit, int *use_loc, char **nod_set_name)
cpl_frame * create_zero_rectify (cpl_frame *rec_frame, int iorder, xsh_instrument *instr)
void analyse_rectify (cpl_frame *rec_frame, int iorder, xsh_instrument *instr)
int main (int argc, char **argv)
 Unit test of xsh_rectify. Needs the PRE frame, order table, wave solution, instrument, rectify parameters, the map.

Variables

static const char * Options = ""
static struct option long_options []

Define Documentation

#define MODULE_ID   "XSH_COMBINE_NOD"

Definition at line 67 of file test-xsh_combine_nod.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
KERNEL_OPT 
RADIUS_OPT 
BIN_LAMBDA_OPT 
BIN_SPACE_OPT 
HELP_OPT 
MIN_ORDER_OPT 
MAX_ORDER_OPT 
SLIT_MIN_OPT 
NSLIT_OPT 
USELOC_OPT 
NOD_SET_OPT 
NOD_ORDER_OPT 

Definition at line 72 of file test-xsh_combine_nod.c.


Function Documentation

void analyse_rectify ( cpl_frame *  rec_frame,
int  iorder,
xsh_instrument instr 
)
cpl_frame* create_zero_rectify ( cpl_frame *  rec_frame,
int  iorder,
xsh_instrument instr 
)
static void HandleOptions ( int  argc,
char **  argv,
xsh_rectify_param rectify_par,
int *  order_min,
int *  order_max,
double *  slit_min,
int *  nslit,
int *  use_loc,
char **  nod_set_name 
) [static]
static void Help ( void   )  [static]

Definition at line 96 of file test-xsh_combine_nod.c.

References TEST_END.

Referenced by HandleOptions(), and main().

int main ( int  argc,
char **  argv 
)

Variable Documentation

struct option long_options[] [static]
Initial value:
 {
  {"kernel", required_argument, 0, KERNEL_OPT},
  {"radius", required_argument, 0, RADIUS_OPT},
  {"bin-lambda", required_argument, 0, BIN_LAMBDA_OPT},
  {"bin-space", required_argument, 0, BIN_SPACE_OPT},
  {"order-min", required_argument, 0, MIN_ORDER_OPT},
  {"order-max", required_argument, 0, MAX_ORDER_OPT},
  {"slit-min",required_argument, 0, SLIT_MIN_OPT},
  {"slit-n",required_argument, 0, NSLIT_OPT},
  {"use-localization",required_argument, 0, USELOC_OPT},
  {"nod-set",required_argument, 0, NOD_SET_OPT},
  {"nod-order",required_argument, 0, NOD_ORDER_OPT},
  {"help", 0, 0, HELP_OPT},
  {0, 0, 0, 0}
}

Definition at line 80 of file test-xsh_combine_nod.c.

Referenced by HandleOptions().

const char* Options = "" [static]

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

Referenced by HandleOptions().


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