X-shooter Pipeline Reference Manual 3.8.15
Macros | Enumerations | Functions | Variables
test-xsh_rectify.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_the_map.h>
#include <xsh_data_localization.h>
#include <xsh_data_spectralformat.h>
#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_badpixelmap.h>
#include <cpl.h>
#include <math.h>
#include <getopt.h>

Go to the source code of this file.

Macros

#define MODULE_ID   "XSH_RECTIFY"
 

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 , DEBUG_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 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 []
 

Function Documentation

◆ Help()

static void Help ( void  )
static

Definition at line 94 of file test-xsh_rectify.c.

References TEST_END.

Referenced by HandleOptions().