FORS Pipeline Reference Manual  4.12.5
fors_flat_normalise.h
1 /* $Id: fors_flat_normalise.h,v 1.3 2013-09-09 12:14:12 cgarcia Exp $
2  *
3  * This file is part of the VIMOS Pipeline
4  * Copyright (C) 2002-2010 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author: cgarcia $
23  * $Date: 2013-09-09 12:14:12 $
24  * $Revision: 1.3 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef FORS_FLAT_NORMALISE_H
29 #define FORS_FLAT_NORMALISE_H
30 
31 #include <cpl.h>
32 
33 CPL_BEGIN_DECLS
34 
35 cpl_image *mos_mosflat_normalise(cpl_image *flat, cpl_image *spatial,
36  cpl_table *slits, cpl_table *polytraces,
37  double reference, double blue, double red,
38  double dispersion,
39  int spa_smooth_radius, int disp_smooth_radius,
40  int spa_fit_nknots, int disp_fit_nknots,
41  double fit_threshold);
42 cpl_image *mos_lssflat_normalise(cpl_image *flat,
43  int spa_smooth_radius, int disp_smooth_radius,
44  int spa_fit_nknots, int disp_fit_nknots,
45  double fit_threshold);
46 
47 void image_smooth_fit_1d_pol_spa(cpl_image * image, cpl_size polyorder);
48 void image_smooth_fit_1d_pol_disp(cpl_image * image, cpl_size polyorder);
49 
50 CPL_END_DECLS
51 
52 #endif /* FORS_FLAT_NORMALISE_H */