Subtract Sky NOD Frames
[DRL Functions]

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

static void save_pre_frame ( cpl_frame *  frame,
xsh_instrument instrument,
cpl_frame *  B_frame 
) [static]
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_set Raw frames frameset
instrument Pointer to instrument structure
mode_fast specify of fast mode is set
Returns:
Frameset of A-B and B-A frames

Definition at line 203 of file xsh_subtract_sky_nod.c.

References check, 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().


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1