Test Compute Noisy Pixels
[Unit Tests]

Defines

#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)

Define Documentation

#define MODULE_ID   "XSH_COMPUTE_NOISE_MAP"

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


Function Documentation

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 76 of file test-xsh_compute_noise_map.c.

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

Referenced by main().

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]
int verify_noisy ( cpl_frame *  frame,
xsh_instrument instrument 
)

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