X-shooter Pipeline Reference Manual 3.8.15
Macros | Enumerations | Functions | Variables
Test Object extraction with bad pixels interpolation

Macros

#define MODULE_ID   "XSH_EXTRACT_CLEAN"
 
#define MODULE_ID   "XSH_EXTRACT_CLEAN_SYM"
 

Enumerations

enum  { DECODEBP_OPT , METHOD_OPT , DEBUG_OPT , HELP_OPT }
 
enum  { DECODEBP_OPT , METHOD_OPT , DEBUG_OPT , HELP_OPT }
 

Functions

static void Help (void)
 
static void HandleOptions (int argc, char **argv, xsh_extract_param *extract_par, int *decode_bp)
 
static void analyse_extraction (cpl_frame *rec_frame, xsh_instrument *instr)
 
int main (int argc, char **argv)
 Unit test of xsh_extract_clean.
 
cpl_error_code xsh_set_wcs (cpl_propertylist *header, const double crpix1, const double crval1, const double cdelt1, const double crpix2, const double crval2, const double cdelt2)
 
static cpl_frame * xsh_extract_local_clean (cpl_frame *frame2D, xsh_instrument *instrument)
 

Variables

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

Detailed Description

Macro Definition Documentation

◆ MODULE_ID [1/2]

#define MODULE_ID   "XSH_EXTRACT_CLEAN"

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

◆ MODULE_ID [2/2]

#define MODULE_ID   "XSH_EXTRACT_CLEAN_SYM"

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DECODEBP_OPT 
METHOD_OPT 
DEBUG_OPT 
HELP_OPT 

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

◆ anonymous enum

anonymous enum
Enumerator
DECODEBP_OPT 
METHOD_OPT 
DEBUG_OPT 
HELP_OPT 

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

Function Documentation

◆ analyse_extraction()

static void analyse_extraction ( cpl_frame *  rec_frame,
xsh_instrument instr 
)
static

◆ HandleOptions()

static void HandleOptions ( int  argc,
char **  argv,
xsh_extract_param extract_par,
int *  decode_bp 
)
static

◆ Help()

static void Help ( void  )
static

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

References TEST_END.

Referenced by HandleOptions(), and main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ xsh_extract_local_clean()

static cpl_frame * xsh_extract_local_clean ( cpl_frame *  frame2D,
xsh_instrument instrument 
)
static

◆ xsh_set_wcs()

cpl_error_code xsh_set_wcs ( cpl_propertylist *  header,
const double  crpix1,
const double  crval1,
const double  cdelt1,
const double  crpix2,
const double  crval2,
const double  cdelt2 
)

Variable Documentation

◆ long_options [1/2]

struct option long_options[]
static
Initial value:
= {
{"decode-bp", required_argument, 0, DECODEBP_OPT},
{"method", required_argument, 0, METHOD_OPT},
{"debug", required_argument, 0, DEBUG_OPT},
{"help", 0, 0, HELP_OPT},
{0, 0, 0, 0}
}
@ DECODEBP_OPT

Definition at line 72 of file test-xsh_extract_clean.c.

Referenced by HandleOptions().

◆ long_options [2/2]

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

Definition at line 72 of file test-xsh_extract_clean_sym.c.

Referenced by HandleOptions().