uves_wavecal_search.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: 2007/06/06 08:17:34 $
00023  * $Revision: 1.6 $
00024  * $Name: uves-3_9_0 $
00025  * $Log: uves_wavecal_search.h,v $
00026  * Revision 1.6  2007/06/06 08:17:34  amodigli
00027  * replace tab with 4 spaces
00028  *
00029  * Revision 1.5  2007/05/02 13:20:00  jmlarsen
00030  * Take error bars into account in line searching if arclamp was flat-fielded
00031  *
00032  * Revision 1.4  2007/04/24 12:50:29  jmlarsen
00033  * Replaced cpl_propertylist -> uves_propertylist which is much faster
00034  *
00035  * Revision 1.3  2007/03/05 10:41:48  jmlarsen
00036  * Use CCD binning when determining search window width
00037  *
00038  * Revision 1.2  2006/02/15 13:19:15  jmlarsen
00039  * Reduced source code max. line length
00040  *
00041  * Revision 1.1  2006/02/03 07:46:30  jmlarsen
00042  * Moved recipe implementations to ./uves directory
00043  *
00044  * Revision 1.8  2005/12/20 08:11:44  jmlarsen
00045  * Added CVS  entry
00046  *
00047  */
00048 
00049 #ifndef UVES_WAVECAL_SEARCH_H
00050 #define UVES_WAVECAL_SEARCH_H
00051 
00052 #include <uves_utils_polynomial.h>
00053 #include <cpl.h>
00054 #include <stdbool.h>
00055 
00056 typedef enum {CENTERING_GAUSSIAN, CENTERING_GRAVITY} centering_method;
00057 
00058 cpl_table *
00059 uves_wavecal_search(const cpl_image *spectrum, const cpl_image *noise,
00060             const uves_propertylist *spectrum_header,
00061                     bool flat_fielded,
00062             const polynomial *order_locations, cpl_image *arcframe,
00063             int RANGE, int MINLINES, int MAXLINES,
00064             centering_method CENTERING_METHOD,
00065                     int bin_disp);
00066 
00067 #endif

Generated on Fri Apr 18 14:11:44 2008 for UVES Pipeline Reference Manual by  doxygen 1.5.1