Functions | |
cpl_frameset * | xsh_subtract_sky_offset (cpl_frameset *object_raws, cpl_frameset *sky_raws, int nraws, xsh_instrument *instrument) |
Function ...
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).
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 |
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().