X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions
Test Compute Noisy Pixels

Macros

#define MODULE_ID   "XSH_COMPUTE_NOISE_MAP"
 

Functions

cpl_frameset * add_noisy_pixels (cpl_frameset *set, xsh_instrument *instrument)
 Unit test of XSH_SUBTRACT.
 
int verify_noisy (cpl_frame *frame, xsh_instrument *instrument)
 
static cpl_frame * create_frame (const char *name, int nx, int ny, const char *tag, cpl_frame_group group, xsh_instrument *instrument, int norm)
 
int main (void)
 

Detailed Description

Macro Definition Documentation

◆ MODULE_ID

#define MODULE_ID   "XSH_COMPUTE_NOISE_MAP"

Definition at line 61 of file test-xsh_compute_noise_map.c.

Function Documentation

◆ add_noisy_pixels()

cpl_frameset * add_noisy_pixels ( cpl_frameset *  set,
xsh_instrument instrument 
)

Unit test of XSH_SUBTRACT.

Returns
0 iff success

Test the Data Reduction Library function XSH_SUBTRACT

Definition at line 77 of file test-xsh_compute_noise_map.c.

References assure, check_msg, xsh_pre::data, instrument, xsh_instrument_set_recipe_id(), xsh_msg, xsh_pre_free(), xsh_pre_load(), and xsh_pre_save().

Referenced by main().

◆ create_frame()

static cpl_frame * create_frame ( const char *  name,
int  nx,
int  ny,
const char *  tag,
cpl_frame_group  group,
xsh_instrument instrument,
int  norm 
)
static

◆ main()

int main ( void  )

◆ verify_noisy()

int verify_noisy ( cpl_frame *  frame,
xsh_instrument instrument 
)