X-shooter Pipeline Reference Manual 3.8.15
Macros | Enumerations | Functions | Variables
test-xsh_localize_obj.c File Reference
#include <tests.h>
#include <xsh_data_pre.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_data_instrument.h>
#include <xsh_data_spectrum.h>
#include <xsh_data_localization.h>
#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_parameters.h>
#include <xsh_badpixelmap.h>
#include <cpl.h>
#include <math.h>
#include <string.h>
#include <getopt.h>

Go to the source code of this file.

Macros

#define MODULE_ID   "XSH_LOCALIZE_OBJ"
 

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
}
 

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.
 

Variables

static struct option long_options []
 

Function Documentation

◆ Help()

static void Help ( void  )
static

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

References TEST_END.

Referenced by HandleOptions().