uves_wavecal_firstsolution.h

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: 2010/09/24 09:32:09 $
00023  * $Revision: 1.8 $
00024  * $Name: uves-4_9_1 $
00025  * $Log: uves_wavecal_firstsolution.h,v $
00026  * Revision 1.8  2010/09/24 09:32:09  amodigli
00027  * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
00028  *
00029  * Revision 1.6  2007/06/06 08:17:33  amodigli
00030  * replace tab with 4 spaces
00031  *
00032  * Revision 1.5  2007/03/05 10:22:35  jmlarsen
00033  * Fixed bug in computation of max/min physical order number
00034  *
00035  * Revision 1.4  2006/12/07 08:29:56  jmlarsen
00036  * Compute correct Ynew column for FLAMES
00037  *
00038  * Revision 1.3  2006/11/24 16:24:53  jmlarsen
00039  * Added window offset parameter
00040  *
00041  * Revision 1.2  2006/02/15 13:19:15  jmlarsen
00042  * Reduced source code max. line length
00043  *
00044  * Revision 1.1  2006/02/03 07:46:30  jmlarsen
00045  * Moved recipe implementations to ./uves directory
00046  *
00047  * Revision 1.8  2005/12/20 08:11:44  jmlarsen
00048  * Added CVS  entry
00049  *
00050  */
00051 #ifndef UVES_WAVECAL_FIRSTSOLUTION_H
00052 #define UVES_WAVECAL_FIRSTSOLUTION_H
00053 
00054 #include <uves_utils_polynomial.h>
00055 
00056 #include <cpl.h>
00057 
00058 #include <stdbool.h>
00059 
00060 polynomial *
00061 uves_wavecal_firstsolution(cpl_table *linetable, 
00062                const cpl_table *guess,
00063                polynomial **absolute_order, 
00064                const cpl_table *order_table,
00065                const polynomial *order_locations,
00066                bool flames,
00067                double offset, int **relative_order, int DEGREE,
00068                double CORREL_RANGE, double CORREL_STEP, double CORREL_TOLERANCE, 
00069                double TOLERANCE, int *first_abs_order, int *last_abs_order);
00070 
00071 #endif

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1