UVES Pipeline Reference Manual
5.4.0
Main Page
Modules
Data Structures
Files
File List
uves
uves_rebin.h
1
/*
2
* This file is part of the ESO UVES 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
* $Author: amodigli $
22
* $Date: 2010-11-09 17:21:57 $
23
* $Revision: 1.11 $
24
* $Name: not supported by cvs2svn $
25
* $Log: not supported by cvs2svn $
26
* Revision 1.10 2010/09/24 09:32:07 amodigli
27
* put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
28
*
29
* Revision 1.8 2007/06/06 08:17:33 amodigli
30
* replace tab with 4 spaces
31
*
32
* Revision 1.7 2007/05/22 11:38:18 jmlarsen
33
* Removed MIDAS flag for good
34
*
35
* Revision 1.6 2007/05/07 10:18:25 jmlarsen
36
* Added option to enforce positive resulting values (useful for error bars)
37
*
38
* Revision 1.5 2007/04/24 12:50:29 jmlarsen
39
* Replaced cpl_propertylist -> uves_propertylist which is much faster
40
*
41
* Revision 1.4 2006/04/06 08:39:36 jmlarsen
42
* Added void to function prototype
43
*
44
* Revision 1.3 2005/12/19 16:17:56 jmlarsen
45
* Replaced bool -> int
46
*
47
* Revision 1.2 2005/11/24 11:54:46 jmlarsen
48
* Added support for CPL 3 interface
49
*
50
* Revision 1.1 2005/11/11 13:18:54 jmlarsen
51
* Reorganized code, renamed source files
52
*
53
*/
54
#ifndef UVES_REBIN_H
55
#define UVES_REBIN_H
56
57
#include <uves_utils_polynomial.h>
58
#include <cpl.h>
59
#include <stdbool.h>
60
61
cpl_parameterlist *
uves_rebin_define_parameters
(
void
);
62
63
cpl_image *
64
uves_rebin
(
const
cpl_image *spectrum,
65
const
cpl_parameterlist *parameters,
const
char
*context,
66
const
cpl_table *linetable,
const
polynomial
*dispersion_relation,
67
int
first_abs_order,
int
last_abs_order,
68
int
n_traces,
69
bool
threshold_to_positive,
70
bool
is_noise,
71
uves_propertylist
**rebinned_header);
72
73
#endif
74
75
Generated by
1.8.1.1