UVES Pipeline Reference Manual  5.4.0
uves_wavecal_identify.h
1 /* *
2  * This file is part of the ESO UVES Pipeline *
3  * Copyright (C) 2002,2003 European Southern Observatory *
4  * *
5  * This library 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, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA *
18  * */
19 
20 /*
21  * $Author: amodigli $
22  * $Date: 2011-12-08 13:54:03 $
23  * $Revision: 1.12 $
24  * $Name: not supported by cvs2svn $
25  * $Log: not supported by cvs2svn $
26  * Revision 1.11 2011/03/23 10:08:10 amodigli
27  * changed uves_wavecal_search() API to allow QC log
28  *
29  * Revision 1.10 2010/09/24 09:32:09 amodigli
30  * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
31  *
32  * Revision 1.8 2007/06/06 08:17:33 amodigli
33  * replace tab with 4 spaces
34  *
35  * Revision 1.7 2007/05/22 11:46:15 jmlarsen
36  * Removed 1d wavecal mode which was not supported
37  *
38  * Revision 1.6 2007/05/07 14:25:59 jmlarsen
39  * Changed formatting
40  *
41  * Revision 1.5 2007/03/15 12:36:46 jmlarsen
42  * Added experimental ppm code
43  *
44  * Revision 1.4 2007/03/05 10:24:40 jmlarsen
45  * Parametrized kappa parameter
46  *
47  * Revision 1.3 2006/08/17 13:56:53 jmlarsen
48  * Reduced max line length
49  *
50  * Revision 1.2 2006/02/15 13:19:15 jmlarsen
51  * Reduced source code max. line length
52  *
53  * Revision 1.1 2006/02/03 07:46:30 jmlarsen
54  * Moved recipe implementations to ./uves directory
55  *
56  * Revision 1.6 2005/12/20 08:11:44 jmlarsen
57  * Added CVS entry
58  *
59  */
60 #ifndef UVES_WAVECAL_IDENTIFY_H
61 #define UVES_WAVECAL_IDENTIFY_H
62 #include <uves_cpl_size.h>
63 
64 #include <uves_utils_polynomial.h>
65 #include <cpl.h>
66 #include <stdbool.h>
67 
68 polynomial *
69 uves_wavecal_identify(cpl_table *linetable,
70  const cpl_table *line_refer,
71  const polynomial *guess_dispersion,
72  int DEGREE, double TOLERANCE,
73  double ALPHA, double MAXERROR,
74  double kappa,
75  const int trace, const int window,cpl_table* qclog);
76 
77 int
78 uves_wavecal_identify_lines_ppm(cpl_table *linetable, const cpl_table *line_refer);
79 
80 #endif