35 CR2RES_COLLAPSE_UNSPECIFIED,
39 CR2RES_COLLAPSE_MEDIAN,
47 const hdrl_imagelist * in,
50 int subtract_nolight_rows,
51 int subtract_interorder_column,
53 const cpl_frame * flat,
54 const cpl_frame * dark,
55 const cpl_frame * bpm,
56 const cpl_frame * detlin,
57 const cpl_vector * dits,
58 const cpl_vector * ndits,
59 const cpl_vector * ndsamples) ;
62 const hdrl_image * in,
65 int subtract_nolight_rows,
66 int subtract_interorder_column,
68 const cpl_frame * flat,
69 const cpl_frame * dark,
70 const cpl_frame * bpm,
71 const cpl_frame * detlin,
78 const cpl_image * var) ;
84 const cpl_image * relerr2,
88 hdrl_imagelist * list,
89 const cpl_frame * master_dark_frame,
91 const hdrl_image * mflat,
92 const cpl_vector * dits,
cpl_image * cr2res_calib_flat_relerr2(const hdrl_image *mflat)
Squared relative error of a master flat, (sigma_F/F)^2.
hdrl_image * cr2res_calib_image(const hdrl_image *in, int chip, int clean_bad, int subtract_nolight_rows, int subtract_interorder_column, int cosmics_corr, const cpl_frame *flat, const cpl_frame *dark, const cpl_frame *bpm, const cpl_frame *detlin, double dit, int ndit, int ndsamples)
The images calibration routine for a given chip.
hdrl_imagelist * cr2res_calib_imagelist(const hdrl_imagelist *in, int chip, int clean_bad, int subtract_nolight_rows, int subtract_interorder_column, int cosmics_corr, const cpl_frame *flat, const cpl_frame *dark, const cpl_frame *bpm, const cpl_frame *detlin, const cpl_vector *dits, const cpl_vector *ndits, const cpl_vector *ndsamples)
The images calibration routine for a given chip on a list.
int cr2res_calib_dark_var(hdrl_imagelist *list, const cpl_frame *master_dark_frame, int chip, const hdrl_image *mflat, const cpl_vector *dits, double sign)
Add or remove the master dark variance of cr2res_calib_image()
void cr2res_calib_add_var(hdrl_image *ima, const cpl_image *var)
Add a variance image to the error of an HDRL image.
void cr2res_calib_flat_var(hdrl_image *ima, const cpl_image *relerr2, double sign)
Add or remove the flat-field variance term of an image.