Functions | |
void | xsh_flat_merge_qth_d2 (cpl_frame *qth_frame, cpl_frame *qth_order_tab_frame, cpl_frame *d2_frame, cpl_frame *d2_order_tab_frame, cpl_frame *qth_bkg_frame, cpl_frame *d2_bkg_frame, cpl_frame **qth_d2_flat_frame, cpl_frame **qth_d2_bkg_frame, cpl_frame **qth_d2_order_tab_frame, xsh_instrument *instrument) |
Merge two master flat fields and order tables according the spectral format. |
Function ...
void xsh_flat_merge_qth_d2 | ( | cpl_frame * | qth_frame, | |
cpl_frame * | qth_order_tab_frame, | |||
cpl_frame * | d2_frame, | |||
cpl_frame * | d2_order_tab_frame, | |||
cpl_frame * | qth_bkg_frame, | |||
cpl_frame * | d2_bkg_frame, | |||
cpl_frame ** | qth_d2_flat_frame, | |||
cpl_frame ** | qth_d2_bkg_frame, | |||
cpl_frame ** | qth_d2_order_tab_frame, | |||
xsh_instrument * | instrument | |||
) |
Merge two master flat fields and order tables according the spectral format.
[in] | qth_frame | QTH master flat |
[in] | qth_order_tab_frame | QTH order edges tab |
[in] | d2_frame | D2 master flat |
[in] | d2_order_tab_frame | D2 order edges tab |
[in] | qth_bkg_frame | QTH inter-order background frame |
[in] | d2_bkg_frame | D2 inter-order background frame |
[out] | qth_d2_flat_frame | Merged flat frame |
[out] | qth_d2_bkg_frame | merged inter-order subtracted background |
[out] | qth_d2_order_tab_frame | merged inter-order table |
[in] | instrument | instrument arm and lamp settings |
Definition at line 83 of file xsh_flat_merge.c.
References xsh_order_list::bin_y, xsh_pre::binx, xsh_pre::biny, check, xsh_pre::data, xsh_pre::data_header, xsh_order::edglopoly, xsh_order::edguppoly, xsh_pre::errs, xsh_order_list::list, xsh_pre::nx, xsh_pre::ny, xsh_pre::qual, xsh_order_list::size, x, XSH_ASSURE_NOT_NULL, xsh_frame_product(), XSH_FREE, xsh_free_image(), XSH_GET_TAG_FROM_LAMP, xsh_instrument_arm_tostring(), xsh_instrument_mode_tostring(), xsh_instrument_update_lamp(), XSH_LAMP_D2, XSH_LAMP_QTH, XSH_LAMP_UNDEFINED, XSH_MASTER_FLAT, xsh_msg_dbg_medium, XSH_NAME_LAMP_MODE_ARM, xsh_order_list_eval_int(), xsh_order_list_free(), xsh_order_list_load(), xsh_order_list_merge(), xsh_order_list_save(), xsh_order_list_set_bin_x(), xsh_order_list_set_bin_y(), XSH_ORDER_TAB_EDGES, xsh_pfits_set_pcatg(), xsh_pre_free(), xsh_pre_load(), xsh_pre_save(), XSH_QC_FLUX_MAX, XSH_QC_FLUX_MIN, XSH_REGDEBUG, and y.
Referenced by main(), and xsh_mflat().