Test Object extraction
[Unit Tests]

Defines

#define MODULE_ID   "XSH_EXTRACT"
#define MODULE_ID   "XSH_FLAT_MERGE"
#define SYNTAX

Enumerations

enum  { METHOD_OPT, DEBUG_OPT, HELP_OPT }

Functions

static void Help (void)
static void HandleOptions (int argc, char **argv, xsh_extract_param *extract_par)
static void analyse_extraction (cpl_frame *rec_frame, xsh_instrument *instr)
int main (int argc, char **argv)
 Unit test of xsh_extract.

Variables

static struct option long_options []

Define Documentation

#define MODULE_ID   "XSH_FLAT_MERGE"

Definition at line 65 of file test-xsh_flat_merge.c.

#define MODULE_ID   "XSH_EXTRACT"

Definition at line 65 of file test-xsh_extract.c.

#define SYNTAX
Value:
"Test the flat merge function\n"\
  "use : ./test_xsh_flat_merge QTH_FRAME QTH_ORDER_TAB D2_FRAME D2_ORDER_TAB"\
  " SPECTRAL_TAB\n"\
  "QTH_FRAME => the qth flat frame\n"\
  "QTH_ORDER_TAB => the qth order table\n"\
  "D2_FRAME => the d2 flat frame\n"\
  "D2_ORDER_TAB => the d2 order table\n"\

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


Enumeration Type Documentation

anonymous enum
Enumerator:
METHOD_OPT 
DEBUG_OPT 
HELP_OPT 

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


Function Documentation

static void analyse_extraction ( cpl_frame *  rec_frame,
xsh_instrument instr 
) [static]
static void HandleOptions ( int  argc,
char **  argv,
xsh_extract_param extract_par 
) [static]
static void Help ( void   )  [static]

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

References TEST_END.

Referenced by HandleOptions().

int main ( int  argc,
char **  argv 
)

Variable Documentation

struct option long_options[] [static]
Initial value:
 {
  {"method", required_argument, 0, METHOD_OPT},
  {"debug", required_argument, 0, DEBUG_OPT},
  {"help", 0, 0, HELP_OPT},
  {0, 0, 0, 0}
}

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

Referenced by HandleOptions().


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