Test Remove Crh Multi function(s)
[Unit Tests]

Defines

#define MODULE_ID   "XSH_LOCALIZE_OBJ"
#define MODULE_ID   "XSH_REMOVE_CRH_SINGLE"

Enumerations

enum  {
  NBCHUNK_OPT, TRESHOLD_OPT, DEG_POLY_OPT, METHOD_OPT,
  SLIT_POS_OPT, SLIT_HHEIGHT_OPT, KAPPA_OPT, NITER_OPT,
  SKYMASK_OPT, HELP_OPT
}
enum  {
  SIGMA_LIM_OPT, F_LIM_OPT, ITER_OPT, FRAC_MAX_OPT,
  DEBUG_OPT, HELP_OPT
}

Functions

static void Help (void)
static void HandleOptions (int argc, char **argv, xsh_localize_obj_param *loc_par, char **skymask_name)
static void analyse_localization (cpl_frame *merge_frame, cpl_frame *loc_frame, xsh_instrument *instr)
int main (int argc, char **argv)
 Unit test of xsh_localize_obj.
static void HandleOptions (int argc, char **argv, xsh_remove_crh_single_param *single_par)

Variables

static struct option long_options []
static struct option long_options []

Define Documentation

#define MODULE_ID   "XSH_REMOVE_CRH_SINGLE"

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

#define MODULE_ID   "XSH_LOCALIZE_OBJ"

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


Enumeration Type Documentation

anonymous enum
Enumerator:
NBCHUNK_OPT 
TRESHOLD_OPT 
DEG_POLY_OPT 
METHOD_OPT 
SLIT_POS_OPT 
SLIT_HHEIGHT_OPT 
KAPPA_OPT 
NITER_OPT 
SKYMASK_OPT 
HELP_OPT 

Definition at line 68 of file test-xsh_localize_obj.c.

anonymous enum
Enumerator:
SIGMA_LIM_OPT 
F_LIM_OPT 
ITER_OPT 
FRAC_MAX_OPT 
DEBUG_OPT 
HELP_OPT 

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


Function Documentation

static void analyse_localization ( cpl_frame *  merge_frame,
cpl_frame *  loc_frame,
xsh_instrument instr 
) [static]
static void HandleOptions ( int  argc,
char **  argv,
xsh_remove_crh_single_param single_par 
) [static]
static void HandleOptions ( int  argc,
char **  argv,
xsh_localize_obj_param loc_par,
char **  skymask_name 
) [static]
static void Help ( void   )  [static]

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

References TEST_END.

Referenced by HandleOptions().

int main ( int  argc,
char **  argv 
)

Variable Documentation

struct option long_options[] [static]
Initial value:
 {
  {"sigma_lim", required_argument, 0, SIGMA_LIM_OPT}, 
  {"f_lim", required_argument, 0, F_LIM_OPT},
  {"iter", required_argument, 0, ITER_OPT},
  {"frac_max", required_argument, 0, FRAC_MAX_OPT},
  {"debug", required_argument, 0, DEBUG_OPT}, 
  {"help", 0, 0,HELP_OPT},
 {0, 0, 0, 0}
}

Definition at line 93 of file test-xsh_remove_crh_single.c.

Referenced by HandleOptions().

struct option long_options[] [static]
Initial value:
 {
  {"nbchunk", required_argument, 0,  NBCHUNK_OPT},
  {"threshold", required_argument, 0, TRESHOLD_OPT},
  {"deg_poly", required_argument, 0, DEG_POLY_OPT},
  {"method", required_argument, 0, METHOD_OPT},
  {"slit_position", required_argument, 0, SLIT_POS_OPT},
  {"slit_hheight", required_argument, 0,  SLIT_HHEIGHT_OPT},
  {"kappa", required_argument, 0,  KAPPA_OPT},
  {"niter", required_argument, 0,  NITER_OPT},
  {"skymask", required_argument, 0,  SKYMASK_OPT},
  {"help", 0, 0, HELP_OPT},
  {0, 0, 0, 0}
}

Definition at line 73 of file test-xsh_localize_obj.c.

Referenced by HandleOptions().


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