IIINSTRUMENT Pipeline Reference Manual  1.5.13
sofi_wavelength.h
1 /* $Id: sofi_wavelength.h,v 1.11 2013-03-12 08:04:54 llundin Exp $
2  *
3  * This file is part of the SOFI Pipeline
4  * Copyright (C) 2002,2003 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 02111-1307 USA
19  */
20 
21 /*
22  * $Author: llundin $
23  * $Date: 2013-03-12 08:04:54 $
24  * $Revision: 1.11 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef SOFI_WAVELENGTH_H
29 #define SOFI_WAVELENGTH_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 
37 /*-----------------------------------------------------------------------------
38  Prototypes
39  -----------------------------------------------------------------------------*/
40 
41 cpl_polynomial * sofi_wavelength_engine(const cpl_image *, const char *,
42  const char *, const char *,
43  const char *, const cpl_polynomial *,
44  double, int, double, int, int, int,
45  double *);
46 double sofi_get_slitwidth(const char *);
47 cpl_polynomial * sofi_get_disprel_estimate(const char *, int);
48 
49 #endif
sofi_wavelength_engine
cpl_polynomial * sofi_wavelength_engine(const cpl_image *, const char *, const char *, const char *, const char *, const cpl_polynomial *, double, int, double, int, int, int, double *)
Compute a dispersion relation.
Definition: sofi_wavelength.c:150
sofi_get_disprel_estimate
cpl_polynomial * sofi_get_disprel_estimate(const char *, int)
Estimate the instrument dispersion relation.
Definition: sofi_wavelength.c:313
sofi_get_slitwidth
double sofi_get_slitwidth(const char *)
Find out the slit width.
Definition: sofi_wavelength.c:263