MUSE Pipeline Reference Manual  2.1.1
muse_astrometry_z.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set sw=2 sts=2 et cin: */
3 /*
4  * This file is part of the MUSE Instrument Pipeline
5  * Copyright (C) 2005-2015 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, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 /* This file was automatically generated */
23 
24 #ifndef MUSE_ASTROMETRY_Z_H
25 #define MUSE_ASTROMETRY_Z_H
26 
27 /*----------------------------------------------------------------------------*
28  * Includes *
29  *----------------------------------------------------------------------------*/
30 #include <muse.h>
31 #include <muse_instrument.h>
32 
33 /*----------------------------------------------------------------------------*
34  * Special variable types *
35  *----------------------------------------------------------------------------*/
36 
40 /*----------------------------------------------------------------------------*/
47 /*----------------------------------------------------------------------------*/
48 typedef struct muse_astrometry_params_s {
50  int centroid;
52  const char *centroid_s;
53 
55  double detsigma;
56 
58  double radius;
59 
61  double faccuracy;
62 
64  int niter;
65 
67  double rejsigma;
68 
70  const char * rotcenter;
71 
73  double lambdamin;
74 
76  double lambdamax;
77 
79  double lambdaref;
80 
82  int darcheck;
84  const char *darcheck_s;
85 
86  char __dummy__; /* quieten compiler warning about possibly empty struct */
88 
89 #define MUSE_ASTROMETRY_PARAM_CENTROID_GAUSSIAN 1
90 #define MUSE_ASTROMETRY_PARAM_CENTROID_MOFFAT 2
91 #define MUSE_ASTROMETRY_PARAM_CENTROID_BOX 3
92 #define MUSE_ASTROMETRY_PARAM_CENTROID_INVALID_VALUE -1
93 #define MUSE_ASTROMETRY_PARAM_DARCHECK_NONE 1
94 #define MUSE_ASTROMETRY_PARAM_DARCHECK_CHECK 2
95 #define MUSE_ASTROMETRY_PARAM_DARCHECK_CORRECT 3
96 #define MUSE_ASTROMETRY_PARAM_DARCHECK_INVALID_VALUE -1
97 
100 /*----------------------------------------------------------------------------*
101  * Function prototypes *
102  *----------------------------------------------------------------------------*/
103 int muse_astrometry_compute(muse_processing *, muse_astrometry_params_t *);
104 
105 #endif /* MUSE_ASTROMETRY_Z_H */
double rejsigma
Rejection sigma level of the astrometric fit.
double lambdaref
Reference wavelength used for correction of differential atmospheric refraction. The R-band (peak wav...
double radius
Initial radius in pixels for pattern matching identification in the astrometric field.
double lambdamin
Cut off the data below this wavelength after loading the pixel table(s).
int centroid
Centroiding method to use for objects in the field of view. "gaussian" and "moffat" use 2D fits to de...
const char * centroid_s
Centroiding method to use for objects in the field of view. "gaussian" and "moffat" use 2D fits to de...
int niter
Number of iterations of the astrometric fit.
const char * darcheck_s
Carry out a check of the theoretical DAR correction using source centroiding. If "correct" it will al...
double detsigma
Source detection sigma level to use. If this is negative, values between its absolute and 1...
const char * rotcenter
Center of rotation of the instrument, given as two comma-separated floating point values in pixels...
Structure to hold the parameters of the muse_astrometry recipe.
double lambdamax
Cut off the data above this wavelength after loading the pixel table(s).
struct muse_astrometry_params_s muse_astrometry_params_t
Structure to hold the parameters of the muse_astrometry recipe.
double faccuracy
Factor of initial accuracy relative to mean positional accuracy of the measured positions to use for ...
int darcheck
Carry out a check of the theoretical DAR correction using source centroiding. If "correct" it will al...