SINFONI Pipeline Reference Manual
2.5.2
sinfoni
sinfo_new_nst.h
1
#ifndef SINFO_NEW_NST_H
2
#define SINFO_NEW_NST_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_nst.h,v 1.7 2007-09-21 14:49:00 amodigli Exp $"
25
*
26
* who when what
27
* -------- -------- ----------------------------------------------
28
* amodigli 17/09/03 created
29
*/
30
31
/************************************************************************
32
* new_nsh.h
33
* Result of a north-south test exposure are 32 continuum spectra of a
34
* pinhole that means one spectrum in each slitlet at the same spatial
35
* position.
36
* Each spectrum is fitted in sp[atial direction by a Gaussian to get the
37
* sub-pixel positions for each row.
38
*
39
* Then the distances are determined in each row and averaged
40
*
41
* Result: are distances of each slitlet from each other => 31 values stored
42
* in an ASCII file this Python script needs a frame of a pinhole source with
43
* a continuous spectrum, that is shifted exactly perpendicular to the
44
* slitlets. It fits the spectra in spatial direction by a Gaussian fit
45
* function and therefore determines the sub-pixel position of the source.
46
*
47
* Then the distances of the slitlets from each other are determined and
48
* saved in an ASCII list.
49
*
50
*----------------------------------------------------------------------
51
*/
52
53
/*
54
* header files
55
*/
56
#include <cpl.h>
57
#include "sinfo_msg.h"
58
/*----------------------------------------------------------------------------
59
* Function ANSI C prototypes
60
*--------------------------------------------------------------------------*/
61
62
/*----------------------------------------------------------------------------
63
Function : sinfo_nst()
64
In : ini_file: file name of according .ini file
65
Out : integer (0 if it worked, -1 if it doesn't)
66
Job :
67
68
* Result of a north-south test exposure are 32 continuum spectra of a
69
* pinhole that means one spectrum in each slitlet at the same spatial
70
* position.
71
* Each spectrum is fitted in sp[atial direction by a Gaussian to get the
72
* sub-pixel positions for each row.
73
*
74
* Then the distances are determined in each row and averaged
75
76
77
---------------------------------------------------------------------------*/
78
int
79
sinfo_new_nst (
const
char
* plugin_id,
80
cpl_parameterlist* config,
81
cpl_frameset*
set
,
82
cpl_frameset* ref_set) ;
83
84
85
#endif
86
87
/*--------------------------------------------------------------------------*/
Generated by
1.8.1.1