MOONS Pipeline Reference Manual
0.13.2
moons
moo_localise.h
1
/*
2
* This file is part of the MOONS Pipeline
3
* Copyright (C) 2002-2016 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, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#ifndef MOO_LOCALISE_H
21
#define MOO_LOCALISE_H
22
23
/*-----------------------------------------------------------------------------
24
Includes
25
-----------------------------------------------------------------------------*/
26
#include <cpl.h>
27
#include <hdrl.h>
28
#include "moo_params.h"
29
#include "moo_det.h"
30
#include "moo_loc.h"
31
32
#define MOO_DEBUG_LOCALISE 0
33
#define MOO_DEBUG_LOCALISE_BAND 0
34
#define MOO_DEBUG_LOCALISE_TRACKING 0
35
36
#define MOO_FIBRE_LOC_TABLE_Y "Y"
37
#define MOO_FIBRE_LOC_TABLE_FLUX "FLUX"
38
#define MOO_FIBRE_LOC_TABLE_FLUX_ERR "FLUX_ERR"
39
#define MOO_FIBRE_LOC_TABLE_BAD "BAD"
40
#define MOO_FIBRE_LOC_TABLE_BACKGROUND "BACKGROUND"
41
#define MOO_FIBRE_LOC_TABLE_BACKGROUND_ERR "BACKGROUND_ERR"
42
#define MOO_FIBRE_LOC_TABLE_BCKGFITTED "BCKGFITTED"
43
#define MOO_FIBRE_LOC_TABLE_THRESH "THRESH"
44
#define MOO_FIBRE_LOC_TABLE_FLAG "FLAG"
45
46
#define MOO_DETECT_LOC_TABLE_NUM "NUM"
47
#define MOO_DETECT_LOC_TABLE_YMIN "YMIN"
48
#define MOO_DETECT_LOC_TABLE_YMAX "YMAX"
49
#define MOO_DETECT_LOC_TABLE_FLUX_YMIN "FLUX_YMIN"
50
#define MOO_DETECT_LOC_TABLE_FLUX_YMAX "FLUX_YMAX"
51
52
#define MOO_DETECT_LOC_TABLE_YBCKGMIN "YBCKGMIN"
53
#define MOO_DETECT_LOC_TABLE_FLUX_YBCKGMIN "FLUX_YBCKGMIN"
54
#define MOO_DETECT_LOC_TABLE_YBCKGMAX "YBCKGMAX"
55
#define MOO_DETECT_LOC_TABLE_FLUX_YBCKGMAX "FLUX_YBCKGMAX"
56
#define MOO_DETECT_LOC_TABLE_YTMIN "YTMIN"
57
#define MOO_DETECT_LOC_TABLE_FLUX_YTMIN "FLUX_YTMIN"
58
#define MOO_DETECT_LOC_TABLE_YTMAX "YTMAX"
59
#define MOO_DETECT_LOC_TABLE_FLUX_YTMAX "FLUX_YTMAX"
60
#define MOO_DETECT_LOC_TABLE_YBARY "YBARY"
61
#define MOO_DETECT_LOC_TABLE_FLUX_YBARY "FLUX_YBARY"
62
#define MOO_DETECT_LOC_TABLE_YWIDTH "YWIDTH"
63
#define MOO_DETECT_LOC_TABLE_FIBNUM "FIBNUM"
64
65
#define MOO_TRACKING_LOC_TABLE_FIBNUM "FIBNUM"
66
#define MOO_TRACKING_LOC_TABLE_YCENTROID "YCENTROID"
67
#define MOO_TRACKING_LOC_TABLE_X "X"
68
#define MOO_TRACKING_LOC_TABLE_YMIN "YMIN"
69
#define MOO_TRACKING_LOC_TABLE_YMAX "YMAX"
70
#define MOO_TRACKING_LOC_TABLE_SNR "SNR"
71
#define MOO_TRACKING_LOC_TABLE_WDIFF "WDIFF"
72
#define MOO_TRACKING_LOC_TABLE_YDIFF "YDIFF"
73
#define MOO_TRACKING_LOC_TABLE_FLAG "FLAG"
74
#define MOO_TRACKING_LOC_TABLE_XGOOD_RATIO "XGOOD_RATIO"
75
#define MOO_TRACKING_LOC_TABLE_FITYCENTROID "FIT_YCENTROID"
76
#define MOO_TRACKING_LOC_TABLE_FITYMIN "FIT_YMIN"
77
#define MOO_TRACKING_LOC_TABLE_FITYMAX "FIT_YMAX"
78
79
#define MOO_TRACKING_LOC_TABLE_GUESS_YCENTROID "GUESS_YCENTROID"
80
#define MOO_TRACKING_LOC_TABLE_GUESS_WLO "GUESS_WLO"
81
#define MOO_TRACKING_LOC_TABLE_GUESS_WUP "GUESS_WUP"
82
moo_loc *
moo_localise
(moo_det *det,
83
const
cpl_frame *guess_loc,
84
moo_localise_params *params,
85
const
char
*locname);
86
#endif
moo_localise
moo_loc * moo_localise(moo_det *det, const cpl_frame *guess_loc, moo_localise_params *params, const char *locname)
To localise the centroid of fibre spectrum on frames.
Definition:
moo_localise.c:3093
Generated on Wed Oct 8 2025 20:38:50 for MOONS Pipeline Reference Manual by
1.9.6