NACO Pipeline Reference Manual
4.4.0
Main Page
Modules
Data Structures
Files
File List
naco
naco_wavelength.h
1
/* $Id: naco_wavelength.h,v 1.5 2006-10-31 12:04:24 llundin Exp $
2
*
3
* This file is part of the NACO 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: 2006-10-31 12:04:24 $
24
* $Revision: 1.5 $
25
* $Name: not supported by cvs2svn $
26
*/
27
28
#ifndef NACO_WAVELENGTH_H
29
#define NACO_WAVELENGTH_H
30
31
/*-----------------------------------------------------------------------------
32
Includes
33
-----------------------------------------------------------------------------*/
34
35
#include <cpl.h>
36
37
/*-----------------------------------------------------------------------------
38
New types
39
-----------------------------------------------------------------------------*/
40
41
typedef
struct
_computed_disprel_
{
42
double
* poly;
/* List of solution polynomial coefficients */
43
int
degree;
/* The degree of the polynomial (currently 3) */
44
double
cc;
/* Cross-correlation number, -1 <= cc <= 1 */
45
double
mean;
/* Mean line misaligment [pixel] of detected lines */
46
double
rms;
/* RMS Mean line misaligment [pixel] of detected lines */
47
double
offset;
/* Change in the constant term of the polynomial */
48
double
scal1;
/* Scaling of 1st degree coefficient */
49
double
scal2;
/* Scaling of 2nd degree coefficient */
50
double
scal3;
/* Scaling of 3rd degree coefficient */
51
int
clines;
/* Number of catalog lines used in the fit */
52
int
dlines;
/* Number of catalog lines detected in the image */
53
}
computed_disprel
;
54
55
/*-----------------------------------------------------------------------------
56
Prototypes
57
-----------------------------------------------------------------------------*/
58
59
computed_disprel
*
naco_spectro_compute_disprel
(
const
cpl_image *,
int
,
int
,
60
int
,
int
,
int
,
const
char
*,
61
double
,
int
,
int
,
double
*);
62
63
#endif
naco_spectro_compute_disprel
computed_disprel * naco_spectro_compute_disprel(const cpl_image *, int, int, int, int, int, const char *, double, int, int, double *)
Compute a 3rd degree dispersion relation.
Definition:
naco_wavelength.c:122
_computed_disprel_
Definition:
naco_wavelength.h:41
Generated on Wed Mar 11 2015 11:19:53 for NACO Pipeline Reference Manual by
1.8.6