ERIS Pipeline Reference Manual
1.9.2
eris
eris_nix_wavecal_utils.h
1
/* $Id$
2
*
3
* This file is part of the ERIS/NIX Pipeline
4
* Copyright (C) 2017 European Southern Observatory
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
/*
22
* $Author$
23
* $Date$
24
* $Rev$
25
*/
26
27
#ifndef ERIS_NIX_WAVECAL_UTILS_H
28
#define ERIS_NIX_WAVECAL_UTILS_H
29
30
#ifdef HAVE_CONFIG_H
31
#include <config.h>
32
#endif
33
34
/*-----------------------------------------------------------------------------
35
Includes
36
-----------------------------------------------------------------------------*/
37
38
#include "eris_nix_defs.h"
39
#include <cpl.h>
40
#include <hdrl.h>
41
42
/*-----------------------------------------------------------------------------
43
Prototypes
44
-----------------------------------------------------------------------------*/
45
46
double
enwu_linepos_1d(
const
cpl_vector * spectrum1d,
47
const
double
guess_pos);
48
49
cpl_matrix *
enwu_linepos_2d
(
const
hdrl_image * spectrum2d,
50
const
cpl_size slice_index,
51
const
cpl_vector * guess_pos);
52
53
#endif
54
55
enwu_linepos_2d
cpl_matrix * enwu_linepos_2d(const hdrl_image *spectrum2d, const cpl_size slice_index, const cpl_vector *guess_pos)
Fit the line peaks of a wave calibration spectrum.
Definition:
eris_nix_wavecal_utils.c:87
Generated on Tue Jan 27 2026 21:31:13 for ERIS Pipeline Reference Manual by
1.9.6