IIINSTRUMENT Pipeline Reference Manual
6.2.2
isaac
isaac_wavelength.h
1
/* $Id: isaac_wavelength.h,v 1.10 2013-03-12 08:06:48 llundin Exp $
2
*
3
* This file is part of the ISAAC 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:06:48 $
24
* $Revision: 1.10 $
25
* $Name: not supported by cvs2svn $
26
*/
27
28
#ifndef ISAAC_WAVELENGTH_H
29
#define ISAAC_WAVELENGTH_H
30
31
/*-----------------------------------------------------------------------------
32
Includes
33
-----------------------------------------------------------------------------*/
34
35
#include <cpl.h>
36
37
/*-----------------------------------------------------------------------------
38
Defines
39
-----------------------------------------------------------------------------*/
40
41
#define MIN_WAVELENGTH 0.0
42
#define MAX_WAVELENGTH 1000000.0
/* 100 microns */
43
44
/*-----------------------------------------------------------------------------
45
New types
46
-----------------------------------------------------------------------------*/
47
48
typedef
struct
_computed_disprel_ {
49
double
* poly;
/* List of solution polynomial coefficients */
50
int
degree;
/* The degree of the polynomial (currently 3) */
51
double
cc;
/* Cross-correlation number, -1 <= cc <= 1 */
52
double
mean;
/* Mean line misaligment [pixel] of detected lines */
53
double
rms;
/* RMS Mean line misaligment [pixel] of detected lines */
54
double
offset;
/* Change in the constant term of the polynomial */
55
double
scal1;
/* Scaling of 1st degree coefficient */
56
double
scal2;
/* Scaling of 2nd degree coefficient */
57
double
scal3;
/* Scaling of 3rd degree coefficient */
58
int
clines;
/* Number of catalog lines used in the fit */
59
int
dlines;
/* Number of catalog lines detected in the image */
60
} computed_disprel;
61
62
/*-----------------------------------------------------------------------------
63
Prototypes
64
-----------------------------------------------------------------------------*/
65
66
computed_disprel * spectro_compute_disprel(
const
cpl_image *,
int
,
int
,
int
,
67
int
,
int
,
int
,
const
char
*,
68
const
char
*,
const
char
*,
69
const
char
*,
70
double
,
int
,
int
,
const
double
*);
71
int
isaac_find_order(
const
char
*);
72
int
isaac_has_thermal(
const
char
*);
73
double
isaac_get_slitwidth(
const
char
*);
74
75
#endif
Generated on Thu Dec 15 2022 21:23:52 for IIINSTRUMENT Pipeline Reference Manual by
1.9.1