SINFONI Pipeline Reference Manual
2.5.2
sinfoni
sinfo_new_cubes_build.h
1
#ifndef SINFO_NEW_CUBES_BUILD_H
2
#define SINFO_NEW_CUBES_BUILD_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_cubes_build.h,v 1.11 2007-06-06 07:10:45 amodigli Exp $"
25
*
26
* who when what
27
* -------- -------- ----------------------------------------------
28
* schreib 06/05/03 created
29
*/
30
31
/************************************************************************
32
* sinfo_cubes_build.h
33
* routines to create a data cube
34
*----------------------------------------------------------------------
35
*/
36
37
/*
38
* header files
39
*/
40
#include <math.h>
41
#include <cpl.h>
42
#include "sinfo_msg.h"
43
/*----------------------------------------------------------------------------
44
* Function ANSI C prototypes
45
*--------------------------------------------------------------------------*/
46
47
/*----------------------------------------------------------------------------
48
@name sinfo_new_cubes_build()
49
@param plugin_id name of recipe plugin
50
@param config input parameter list
51
@param sof input frameset
52
@param procatg
53
@param frame_index index of processed frame
54
@return integer (0 if it worked, -1 if it doesn't)
55
@doc this routine does the resampling of an offset-corrected,
56
flatfielded, bad pixel corrected and
57
eventually interleaved data frame. Additionally, an intensity
58
calibration is carried through by using
59
a standard star or a black body measurement.
60
The spectral features of the flatfield halogen lamp are corrected.
61
Afterwards a data cube is created out of the resampled image.
62
It is the users choice to use either
63
the fitted sinfo_edge positions of the slitlets or the distances
64
of the slitlets gained from a north-south-test.
65
---------------------------------------------------------------------------*/
66
int
67
sinfo_new_cubes_build (
const
char
* plugin_id,
68
cpl_parameterlist* config,
69
cpl_frameset* sof,
70
const
char
* procatg,
71
const
int
frame_index) ;
72
73
74
#endif
76
/*--------------------------------------------------------------------------*/
Generated by
1.8.1.1