21#ifndef ERISP_ERIS_ERIS_IFU_DETLIN_STATIC_H_
22#define ERISP_ERIS_ERIS_IFU_DETLIN_STATIC_H_
30#define ERIS_QC_LIN_COEF_C "Linearity coefficient value"
31#define ERIS_QC_LIN_COEF_ERR_C "Linearity coefficient error value"
33 int exposureCorrectionMode,
34 hdrl_imagelist **hdrl_imglist_on,
35 hdrl_imagelist **hdrl_imglist_off,
36 cpl_vector **vec_dit_on,
37 cpl_vector **vec_dit_off);
45 const hdrl_imagelist *imglist,
46 const cpl_vector *vec_dit,
47 cpl_propertylist* qclog);
50 const cpl_parameterlist *parlist);
cpl_mask * eris_ifu_detlin_filter_mask(const cpl_mask *bpm, const cpl_parameterlist *parlist)
Apply morphological filtering to a bad pixel mask.
cpl_error_code eris_ifu_detlin_load_frames(const cpl_frameset *frameset, int exposureCorrectionMode, hdrl_imagelist **hdrl_imglist_on, hdrl_imagelist **hdrl_imglist_off, cpl_vector **vec_dit_on, cpl_vector **vec_dit_off)
Load linearity calibration frames from a frameset.
cpl_table * eris_compute_gain(cpl_frameset *frameset)
Compute detector gain from linearity frames.
cpl_image * eris_ifu_detlin_compute_linearity(const cpl_parameterlist *parlist, const hdrl_imagelist *imglist, const cpl_vector *vec_dit, cpl_propertylist *qclog)
Compute detector linearity bad pixel map.