X-shooter Pipeline Reference Manual 3.8.15
Macros | Enumerations | Functions | Variables
Test combine nod function

Macros

#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 []
 

Detailed Description

Macro Definition Documentation

◆ MODULE_ID

#define MODULE_ID   "XSH_COMBINE_NOD"

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

Enumeration Type Documentation

◆ anonymous enum

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

◆ analyse_rectify()

void analyse_rectify ( cpl_frame *  rec_frame,
int  iorder,
xsh_instrument instr 
)

◆ create_zero_rectify()

cpl_frame * create_zero_rectify ( cpl_frame *  rec_frame,
int  iorder,
xsh_instrument instr 
)

◆ HandleOptions()

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

◆ Help()

static void Help ( void  )
static

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

References TEST_END.

Referenced by HandleOptions(), and main().

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ long_options

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}
}
@ KERNEL_OPT
@ HELP_OPT
@ NOD_ORDER_OPT
@ MAX_ORDER_OPT
@ RADIUS_OPT
@ BIN_SPACE_OPT
@ NSLIT_OPT
@ MIN_ORDER_OPT
@ USELOC_OPT
@ NOD_SET_OPT
@ SLIT_MIN_OPT
@ BIN_LAMBDA_OPT

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

Referenced by HandleOptions().

◆ Options

const char* Options = ""
static

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

Referenced by HandleOptions().