SINFONI Pipeline Reference Manual
2.6.0
sinfoni
sinfo_new_lamp_flats.h
1
#ifndef SINFO_NEW_LAMP_FLATS_H
2
#define SINFO_NEW_LAMP_FLATS_H
3
/*
4
* This file is part of the ESO SINFONI Pipeline
5
* Copyright (C) 2004,2005 European Southern Observatory
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
20
*/
21
/*****************************************************************************
22
* E.S.O. - VLT project
23
*
24
* "@(#) $Id: sinfo_new_lamp_flats.h,v 1.9 2007-09-21 14:13:43 amodigli Exp $"
25
*
26
* who when what
27
* -------- -------- ----------------------------------------------
28
* amodigli 17/09/03 created
29
*/
30
31
/************************************************************************
32
* sinfo_new_lamp_flats.h
33
* this step handles stacks of lamp flat fields,
34
* o it takes a clean mean,
35
* o subtracts the off- from the on-frames,
36
* o corrects for static bad pixels and normalizes for a master flat field.
37
* o It distinguishes the spectrally dithered frames and
38
* o treats them the same way.
39
* o It can also generate a static bad pixel mask if wished.
40
*----------------------------------------------------------------------
41
*/
42
43
/*
44
* header files
45
*/
46
#include <cpl.h>
47
#include "sinfo_msg.h"
48
49
/*----------------------------------------------------------------------------
50
* Function ANSI C prototypes
51
*--------------------------------------------------------------------------*/
52
53
/*----------------------------------------------------------------------------
54
Function : sinfo_new_lamp_flats()
55
In : ini_file: file name of according .ini file
56
Out : integer (0 if it worked, -1 if it doesn't)
57
Job :
58
59
* this step handles stacks of lamp flat fields,
60
* o it takes a clean mean,
61
* o subtracts the off- from the on-frames,
62
* o corrects for static bad pixels and normalizes for a master flat field.
63
* o It distinguishes the spectrally dithered frames and
64
* o treats them the same way.
65
* o It can also generate a static bad pixel mask if wished.
66
67
---------------------------------------------------------------------------*/
68
int
69
sinfo_new_lamp_flats (
const
char
* plugin_id,
70
cpl_parameterlist* config,
71
cpl_frameset* sof,
72
cpl_frameset* ref_set) ;
73
74
75
#endif
76
77
/*--------------------------------------------------------------------------*/
Generated by
1.8.6