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) |
Function ...
static void save_pre_frame | ( | cpl_frame * | frame, | |
xsh_instrument * | instrument, | |||
cpl_frame * | B_frame | |||
) | [static] |
Definition at line 69 of file xsh_subtract_sky_nod.c.
References check, xsh_pre::data_header, xsh_free_frame(), xsh_free_propertylist(), xsh_pfits_get_dec_cumoffset(), xsh_pfits_get_dec_reloffset(), xsh_pfits_get_ra_cumoffset(), xsh_pfits_get_ra_reloffset(), xsh_pfits_set_b_dec_cumoffset(), xsh_pfits_set_b_dec_reloffset(), xsh_pfits_set_b_ra_cumoffset(), xsh_pfits_set_b_ra_reloffset(), xsh_pre_free(), xsh_pre_load(), and xsh_pre_save().
Referenced by 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.
raws_ord_set | Raw frames frameset | |
instrument | Pointer to instrument structure | |
mode_fast | specify of fast mode is set |
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().