28 #ifndef FORS_FLAT_NORMALISE_H
29 #define FORS_FLAT_NORMALISE_H
32 #include "mosca_image.h"
33 #include "wavelength_calibration.h"
46 int mos_normalise(mosca::image& flat,
47 const mosca::wavelength_calibration& wave_cal,
49 cpl_table *slits, cpl_table *polytraces,
50 double blue,
double red,
52 int spa_smooth_radius,
int disp_smooth_radius,
53 int spa_fit_polyorder,
int disp_fit_nknots,
54 double fit_threshold);
56 int lss_normalise(mosca::image& flat,
57 const mosca::wavelength_calibration& wave_cal,
58 int spa_smooth_radius,
int disp_smooth_radius,
59 int spa_fit_polyorder,
int disp_fit_nknots,
60 double fit_threshold);
62 const mosca::image& get_normalisation_image()
const;
64 const std::vector<std::vector<float> >& get_wave_profiles()
const;
66 const std::vector<float>& get_wave_profiles_norm()
const;
68 cpl_image * get_wave_profiles_im()
const;
72 mosca::image m_normalisation_image;
74 std::vector<std::vector<float> > m_wave_profiles;
76 std::vector<float> m_wave_profiles_norm;