FORS Pipeline Reference Manual  5.0.9
fors_response.h
1 /*
2  * This file is part of the FORS Data Reduction Pipeline
3  * Copyright (C) 2002-2010 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /*
21  * fors_response.h
22  *
23  * Created on: 2014 4 2
24  * Author: cgarcia
25  */
26 
27 #ifndef FORS_RESPONSE_H_
28 #define FORS_RESPONSE_H_
29 
30 #include "cpl.h"
31 
32 CPL_BEGIN_DECLS
33 
34 cpl_table *fors_compute_response
35 (cpl_image *spectra, cpl_image * mapped_flat_sed,
36  cpl_propertylist * flat_sed_header, cpl_table *objects,
37  double startwave, double dispersion, double gain,
38  double exptime, cpl_table *ext_table, double airmass, cpl_table *flux_table,
39  const std::vector<double>& ignored_waves,
40  const std::vector<std::pair<double, double> >& ignored_wave_ranges,
41  int nknots, int degree, cpl_table *& response_interp,
42  double& flat_sed_norm_factor);
43 
44 CPL_END_DECLS
45 
46 #endif /* FORS_RESPONSE_H_ */