00001 /* * 00002 * This file is part of the ESO UVES Pipeline * 00003 * Copyright (C) 2002,2003 European Southern Observatory * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the Free Software * 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA * 00018 * */ 00019 00020 /* 00021 * $Author: amodigli $ 00022 * $Date: 2011/12/08 13:54:03 $ 00023 * $Revision: 1.12 $ 00024 * $Name: uves-5_0_0 $ 00025 * $Log: uves_wavecal_identify.h,v $ 00026 * Revision 1.12 2011/12/08 13:54:03 amodigli 00027 * include uves_cpl_size.h for CPL6 00028 * 00029 * Revision 1.11 2011/03/23 10:08:10 amodigli 00030 * changed uves_wavecal_search() API to allow QC log 00031 * 00032 * Revision 1.10 2010/09/24 09:32:09 amodigli 00033 * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data 00034 * 00035 * Revision 1.8 2007/06/06 08:17:33 amodigli 00036 * replace tab with 4 spaces 00037 * 00038 * Revision 1.7 2007/05/22 11:46:15 jmlarsen 00039 * Removed 1d wavecal mode which was not supported 00040 * 00041 * Revision 1.6 2007/05/07 14:25:59 jmlarsen 00042 * Changed formatting 00043 * 00044 * Revision 1.5 2007/03/15 12:36:46 jmlarsen 00045 * Added experimental ppm code 00046 * 00047 * Revision 1.4 2007/03/05 10:24:40 jmlarsen 00048 * Parametrized kappa parameter 00049 * 00050 * Revision 1.3 2006/08/17 13:56:53 jmlarsen 00051 * Reduced max line length 00052 * 00053 * Revision 1.2 2006/02/15 13:19:15 jmlarsen 00054 * Reduced source code max. line length 00055 * 00056 * Revision 1.1 2006/02/03 07:46:30 jmlarsen 00057 * Moved recipe implementations to ./uves directory 00058 * 00059 * Revision 1.6 2005/12/20 08:11:44 jmlarsen 00060 * Added CVS entry 00061 * 00062 */ 00063 #ifndef UVES_WAVECAL_IDENTIFY_H 00064 #define UVES_WAVECAL_IDENTIFY_H 00065 #include <uves_cpl_size.h> 00066 00067 #include <uves_utils_polynomial.h> 00068 #include <cpl.h> 00069 #include <stdbool.h> 00070 00071 polynomial * 00072 uves_wavecal_identify(cpl_table *linetable, 00073 const cpl_table *line_refer, 00074 const polynomial *guess_dispersion, 00075 int DEGREE, double TOLERANCE, 00076 double ALPHA, double MAXERROR, 00077 double kappa, 00078 const int trace, const int window,cpl_table* qclog); 00079 00080 int 00081 uves_wavecal_identify_lines_ppm(cpl_table *linetable, const cpl_table *line_refer); 00082 00083 #endif