SINFONI Pipeline Reference Manual
2.5.2
sinfoni
sinfo_detnoise_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
21
File name : sinfo_detnoise_cfg.h
22
Author : Juergen Schreiber
23
Created on : September 2002
24
Description : sinfo_detnoise_ini definitions + handling prototypes
25
---------------------------------------------------------------------------*/
26
#ifndef SINFO_DETNOISE_CFG_H
27
#define SINFO_DETNOISE_CFG_H
28
/*---------------------------------------------------------------------------
29
Includes
30
---------------------------------------------------------------------------*/
31
#include <stdlib.h>
32
#include "sinfo_globals.h"
33
#include <cpl.h>
34
/*---------------------------------------------------------------------------
35
Defines
36
---------------------------------------------------------------------------*/
37
/*---------------------------------------------------------------------------
38
New types
39
---------------------------------------------------------------------------*/
40
/*
41
bad pixels search blackboard container
42
43
This structure holds all information related to the bad pixels search
44
routine. It is used as a container for the flux of ancillary data,
45
computed values, and algorithm status. Pixel flux is separated from
46
the blackboard.
47
*/
48
49
typedef
struct
detnoise_config {
50
/*-------General---------*/
51
char
inFile[FILE_NAME_SZ] ;
/* file name of the file containing
52
the list of all input frames */
53
char
outName[FILE_NAME_SZ] ;
/* output name of resulting bad
54
pixel mask (fits file)*/
55
char
** framelist ;
/* list of frames */
56
int
nframes ;
/* number of frames in frame list */
57
58
/*------searchBad------*/
59
/* factor to the standard deviation of the mean standard deviation. */
60
double
threshSigmaFactor ;
61
/* percentage of rejected low intensity pixels before determining
62
image statistics (mean and standard deviation)*/
63
float
loReject ;
64
/* percentage of rejected high intensity pixels before determining
65
image statistics (mean and standard deviation) */
66
float
hiReject ;
67
} detnoise_config ;
68
/*---------------------------------------------------------------------------
69
Function prototypes
70
---------------------------------------------------------------------------*/
78
detnoise_config *
79
sinfo_detnoise_cfg_create(
void
);
86
void
87
sinfo_detnoise_cfg_destroy(detnoise_config * sc);
88
89
#endif
Generated by
1.8.1.1