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

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

◆ xsh_subtract_sky_offset()

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_rawsRaw OBJECT frames frameset
sky_rawsRaw SKY frames frameset
nrawsNumber of OBJECT frames (equal nb of SKY frames)
instrumentPointer to instrument structure
Returns
Frameset of OBJECT-SKY frames

Definition at line 81 of file xsh_subtract_sky_offset.c.

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