Subtract Sky OFFSET Frames
[DRL Functions]

Functions

cpl_frameset * xsh_subtract_sky_offset (cpl_frameset *object_raws, cpl_frameset *sky_raws, int nraws, xsh_instrument *instrument)

Detailed Description

Function ...


Function Documentation

cpl_frameset* xsh_subtract_sky_offset ( cpl_frameset *  object_raws,
cpl_frameset *  sky_raws,
int  nraws,
xsh_instrument instrument 
)

Subtract SKY frames from OBJECT frames. OBJECT and SKY frames are first ordered by increasing observation date (Key Word DATE-OBS).

Parameters:
object_raws Raw OBJECT frames frameset
sky_raws Raw SKY frames frameset
nraws Number of OBJECT frames (equal nb of SKY frames)
instrument Pointer to instrument structure
Returns:
Frameset of OBJECT-SKY frames

Definition at line 81 of file xsh_subtract_sky_offset.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_frameset(), xsh_instrument_arm_tostring(), xsh_msg, xsh_msg_dbg_high, xsh_order_frameset_by_date(), and xsh_pre_frame_subtract().

Referenced by xsh_respon_slit_offset(), xsh_scired_ifu_offset(), and xsh_scired_slit_offset().


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