SINFONI Pipeline Reference Manual
2.6.0
sinfoni
sinfo_tilt_cfg.h
1
/*
2
* This file is part of the ESO SINFONI Pipeline
3
* Copyright (C) 2004,2005 European Southern Observatory
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18
*/
19
/*---------------------------------------------------------------------------
20
File name : sinfo_tilt_cfg.h
21
Author : Juergen Schreiber
22
Created on : October 2001
23
Description : tilt_ini definitions + handling prototypes
24
---------------------------------------------------------------------------*/
25
#ifndef SINFO_TILT_CFG_H
26
#define SINFO_TILT_CFG_H
27
/*---------------------------------------------------------------------------
28
Includes
29
---------------------------------------------------------------------------*/
30
#include <stdlib.h>
31
#include "sinfo_globals.h"
32
#include <cpl.h>
33
/*---------------------------------------------------------------------------
34
Defines
35
---------------------------------------------------------------------------*/
36
/*---------------------------------------------------------------------------
37
New types
38
---------------------------------------------------------------------------*/
39
/*
40
determination of spectral tilt blackboard container
41
42
This structure holds all information related to the determination
43
of the spectral tilt routine. It is used as a container for the flux
44
of ancillary data, computed values, and algorithm status. Pixel flux
45
is separated from the blackboard.
46
*/
47
48
typedef
struct
tilt_config {
49
/*-------General---------*/
50
char
inFile[FILE_NAME_SZ] ;
/* file name of the file containing
51
the list of all input frames */
52
char
outName[FILE_NAME_SZ] ;
/* output name of resulting fits
53
wavelength map */
54
char
** framelist ;
/* list of frames */
55
int
* frametype ;
/* list of frame types on or off */
56
int
nframes ;
/* number of frames in frame list */
57
int
nobj ;
/* number of object frames in frame list */
58
int
noff ;
/* number of off frames in frame list */
59
60
/*------ CleanMean ------*/
61
/* percentage of rejected low intensity pixels */
62
float
loReject ;
63
/* percentage of rejected high intensity pixels */
64
float
hiReject ;
65
/* file name of the bad pixel mask fits file */
66
char
mask[FILE_NAME_SZ] ;
67
68
/*------ Slope ------*/
69
/* width of a box along the slitlets within which the spectrum
70
is fitted by a Gaussian */
71
int
box_length ;
72
/* initial guess of the FWHM */
73
float
fwhm ;
74
/* amplitude below which the fit is not carried through */
75
float
minDiff ;
76
77
} tilt_config ;
78
79
/*---------------------------------------------------------------------------
80
Function prototypes
81
---------------------------------------------------------------------------*/
89
tilt_config *
90
sinfo_tilt_cfg_create(
void
);
91
92
100
void
101
sinfo_tilt_cfg_destroy(tilt_config * sc);
102
103
#endif
Generated by
1.8.6