X-shooter Pipeline Reference Manual 3.8.15
Functions
Subtract Sky NOD Frames

Functions

static void save_pre_frame (cpl_frame *frame, xsh_instrument *instrument, cpl_frame *B_frame)
 
cpl_frameset * xsh_subtract_sky_nod (cpl_frameset *raws_ord_set, xsh_instrument *instrument, int mode_fast)
 

Detailed Description

Function ...

Function Documentation

◆ save_pre_frame()

static void save_pre_frame ( cpl_frame *  frame,
xsh_instrument instrument,
cpl_frame *  B_frame 
)
static

◆ xsh_subtract_sky_nod()

cpl_frameset * xsh_subtract_sky_nod ( cpl_frameset *  raws_ord_set,
xsh_instrument instrument,
int  mode_fast 
)

Subtract A to B frames. Note that the order of input frames MUST be AB[B1A1...]. In the output frameset, we always have A-B, B-A, A1-B1, B1-A1 in this order.

Parameters
raws_ord_setRaw frames frameset
instrumentPointer to instrument structure
mode_fastspecify of fast mode is set
Returns
Frameset of A-B and B-A frames

Definition at line 122 of file xsh_subtract_sky_nod.c.

References check, instrument, save_pre_frame(), size, xsh_add_temporary_file(), XSH_ASSURE_NOT_NULL, xsh_free_frameset(), xsh_instrument_arm_tostring(), and xsh_pre_frame_subtract().

Referenced by main(), xsh_respon_slit_nod(), and xsh_scired_slit_nod().