28#ifndef XSH_DRL_CHECK_H
29#define XSH_DRL_CHECK_H
65 cpl_frame *crhm_frame, cpl_frame *model_config_frame, cpl_frameset *calib,
67 const char *rec_prefix,
68 cpl_frame **wavemap_frame, cpl_frame **slitmap_frame);
73 cpl_imagelist ** lista, cpl_image** listb);
76 cpl_frame *sci_frame, cpl_frameset *wave_frameset,
77 cpl_frame *order_tab_frame, cpl_frame *disp_tab_frame,
81 cpl_frame *master_bias,
84 const int pre_overscan_corr,
const int save_tmp);
98 cpl_frame *ordertabedges_frame,
99 cpl_frame *slitmap_frame,
100 cpl_frame *wavemap_frame,
101 cpl_frame *loctab_frame,
102 cpl_frame *definedbreakpoints_frame,
106 cpl_frame* ref_sky_list,
107 cpl_frame* sky_orders_chhunks,
108 cpl_frame **sky_spectrum,
109 cpl_frame **sky_spectrum_eso,
112 const int clean_tmp);
static xsh_instrument * instrument
static xsh_clipping_param crh_clipping
cpl_frame * xsh_save_sky_model(cpl_frame *obj_frame, cpl_frame *sub_sky_frame, const char *sky_tag, xsh_instrument *instrument)
void xsh_check_afc(int check_flag, cpl_frame *model_frame, cpl_frame *sci_frame, cpl_frameset *wave_frameset, cpl_frame *order_tab_frame, cpl_frame *disp_tab_frame, xsh_instrument *instrument)
Check AFC frame.
cpl_frame * xsh_check_subtract_bias(cpl_frame *crhm_frame, cpl_frame *master_bias, xsh_instrument *instrument, const char *prefix, const int pre_overscan_corr, const int save_tmp)
Check function to subtract bias.
cpl_frame * xsh_check_divide_flat(int do_flatfield, cpl_frame *clean_frame, cpl_frame *master_flat, xsh_instrument *instrument, const char *prefix)
Check function.
cpl_frame * xsh_check_subtract_sky_single(int do_subsky, cpl_frame *src_frame, cpl_frame *ordertabedges_frame, cpl_frame *slitmap_frame, cpl_frame *wavemap_frame, cpl_frame *loctab_frame, cpl_frame *definedbreakpoints_frame, xsh_instrument *instrument, int nbkpts, xsh_subtract_sky_single_param *sky_par, cpl_frame *ref_sky_list, cpl_frame *sky_orders_chhunks, cpl_frame **sky_spectrum, cpl_frame **sky_spectrum_eso, cpl_frame **sky_img, const char *prefix, const int clean_tmp)
Check function sky subtraction on single frame.
cpl_frame * xsh_check_subtract_dark(cpl_frame *rmbias_frame, cpl_frame *master_dark, xsh_instrument *instrument, const char *prefix)
Check function for dark subtraction.
cpl_frame * xsh_check_load_master_bpmap(cpl_frameset *calib, xsh_instrument *inst, const char *rec_id)
cpl_frame * xsh_check_remove_crh_multiple(cpl_frameset *raws, const char *ftag, xsh_stack_param *stack_par, xsh_clipping_param *crh_clipping, xsh_instrument *instr, cpl_imagelist **lista, cpl_image **listb)
Check function.
void xsh_check_get_map(cpl_frame *disp_tab_frame, cpl_frame *order_tab_edges, cpl_frame *crhm_frame, cpl_frame *model_config_frame, cpl_frameset *calib, xsh_instrument *instrument, int do_computemap, int recipe_use_model, const char *rec_prefix, cpl_frame **wavemap_frame, cpl_frame **slitmap_frame)
Check function to get wave and slit maps.
cpl_frame * xsh_check_remove_crh_single(int nb_raws_frame, cpl_frame *subsky_frame, xsh_remove_crh_single_param *crh_single_par, xsh_instrument *instrument, const char *prefix)
Check function.