fors_response.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef FORS_RESPONSE_H_
00028 #define FORS_RESPONSE_H_
00029
00030 #include "cpl.h"
00031 #include "fors_detected_slits.h"
00032
00033 CPL_BEGIN_DECLS
00034
00035 cpl_table *fors_compute_response
00036 (cpl_image *spectra, cpl_image * mapped_flat_sed,
00037 cpl_propertylist * flat_sed_header, cpl_table *objects,
00038 double startwave, double dispersion, double gain,
00039 double exptime, cpl_table *ext_table, double airmass, cpl_table *flux_table,
00040 const std::vector<double>& ignored_waves,
00041 const std::vector<std::pair<double, double> >& ignored_wave_ranges,
00042 int nknots, int degree, cpl_table *& response_interp,
00043 double& flat_sed_norm_factor,
00044 const fors::detected_slits& det_slits);
00045
00046 void fors_science_correct_flat_sed
00047 (cpl_image *spectra, cpl_table *objects,
00048 cpl_image * mapped_flat_sed,
00049 cpl_propertylist * flat_sed_header,
00050 cpl_propertylist * specphot_header,
00051 const fors::detected_slits& det_slits);
00052
00053 void fors_science_correct_flat_sed_mapped
00054 (cpl_image *mapped_image, cpl_table *objects,
00055 cpl_image * mapped_flat_sed,
00056 cpl_propertylist * flat_sed_header,
00057 cpl_propertylist * specphot_header,
00058 const fors::detected_slits& det_slits);
00059
00060 CPL_END_DECLS
00061
00062 #endif