Test Subtract Background
[Unit Tests]

Defines

#define MODULE_ID   "XSH_COMPUTE_RESPONSE"
#define MODULE_ID   "XSH_SUBTRACT_BACKGROUND"

Enumerations

enum  { ARM_OPT, DBG_OPT }
enum  {
  NB_Y_OPT, RADIUS_X_OPT, RADIUS_Y_OPT, HELP_OPT,
  MAX_FRAC_GRID_OPT, METHOD_OPT, SMOOTH_X_OPT, SMOOTH_Y_OPT,
  MIN_FRAC_OPT
}

Functions

static void Help (void)
static void HandleOptions (int argc, char **argv)
int main (int argc, char **argv)
 Unit test of XSH_COMPUTE_RESPONSE.
static void HandleOptions (int argc, char **argv, xsh_background_param *backg_par)

Variables

XSH_ARM TheArm = XSH_ARM_VIS
char DbgLevel [8]
static struct option LongOptions []
static const char * Options = "?"
static const char * Options = ""
static struct option long_options []

Define Documentation

#define MODULE_ID   "XSH_SUBTRACT_BACKGROUND"

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

#define MODULE_ID   "XSH_COMPUTE_RESPONSE"

Definition at line 57 of file test-xsh_compute_response.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
ARM_OPT 
DBG_OPT 

Definition at line 62 of file test-xsh_compute_response.c.

anonymous enum
Enumerator:
NB_Y_OPT 
RADIUS_X_OPT 
RADIUS_Y_OPT 
HELP_OPT 
MAX_FRAC_GRID_OPT 
METHOD_OPT 
SMOOTH_X_OPT 
SMOOTH_Y_OPT 
MIN_FRAC_OPT 

Definition at line 58 of file test-xsh_subtract_background.c.


Function Documentation

static void HandleOptions ( int  argc,
char **  argv,
xsh_background_param backg_par 
) [static]
static void HandleOptions ( int  argc,
char **  argv 
) [static]
static void Help ( void   )  [static]

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

References TEST_END.

Referenced by HandleOptions().

int main ( int  argc,
char **  argv 
)

Variable Documentation

char DbgLevel[8]

Definition at line 60 of file test-xsh_compute_response.c.

Referenced by HandleOptions().

struct option long_options[] [static]
Initial value:
 {
  {"nb-y", required_argument, 0, NB_Y_OPT},
  {"radius-x", required_argument, 0, RADIUS_X_OPT},
  {"radius-y", required_argument, 0, RADIUS_Y_OPT},
  {"grid-frac", required_argument, 0, MAX_FRAC_GRID_OPT},
  {"method", required_argument, 0, METHOD_OPT},
  {"smooth-x", required_argument, 0, SMOOTH_X_OPT},
  {"smooth-y",required_argument, 0, SMOOTH_X_OPT},
  {"min-frac",required_argument, 0,MIN_FRAC_OPT},
  {"help", 0, 0, HELP_OPT},
  {0, 0, 0, 0}
}

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

Referenced by HandleOptions().

struct option LongOptions[] [static]
Initial value:
 {
  {"arm", required_argument, 0, ARM_OPT},
  {"debug-level", required_argument, 0, DBG_OPT},
  {NULL, 0, 0, 0}
}

Definition at line 66 of file test-xsh_compute_response.c.

Referenced by HandleOptions().

const char* Options = "" [static]

Definition at line 63 of file test-xsh_subtract_background.c.

Referenced by HandleOptions().

const char* Options = "?" [static]

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

Referenced by HandleOptions().

XSH_ARM TheArm = XSH_ARM_VIS

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

Referenced by HandleOptions().


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