MUSE Pipeline Reference Manual  2.1.1
muse_geometry_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_GEOMETRY_Z_H
25 #define MUSE_GEOMETRY_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_geometry_params_s {
50  int ifu1;
51 
53  int ifu2;
54 
56  double sigma;
57 
59  int centroid;
61  const char *centroid_s;
62 
64  double smooth;
65 
67  double lambdamin;
68 
70  double lambdamax;
71 
72  char __dummy__; /* quieten compiler warning about possibly empty struct */
74 
75 #define MUSE_GEOMETRY_PARAM_CENTROID_BARYCENTER 1
76 #define MUSE_GEOMETRY_PARAM_CENTROID_GAUSSIAN 2
77 #define MUSE_GEOMETRY_PARAM_CENTROID_INVALID_VALUE -1
78 
81 /*----------------------------------------------------------------------------*
82  * Function prototypes *
83  *----------------------------------------------------------------------------*/
84 int muse_geometry_compute(muse_processing *, muse_geometry_params_t *);
85 
86 #endif /* MUSE_GEOMETRY_Z_H */
const char * centroid_s
Type of centroiding and FWHM determination to use for all spot measurements: simple barycenter method...
struct muse_geometry_params_s muse_geometry_params_t
Structure to hold the parameters of the muse_geometry recipe.
double sigma
Sigma detection level for spot detection, in terms of median deviation above the median.
double lambdamax
When passing any MASK_CHECK frames in the input, use this upper wavelength cut before reconstructing ...
int centroid
Type of centroiding and FWHM determination to use for all spot measurements: simple barycenter method...
double smooth
Use this sigma-level cut for smoothing of the output table within each slicer stack. Set to non-positive value to deactivate smoothing.
int ifu2
Last IFU to analyze.
int ifu1
First IFU to analyze.
double lambdamin
When passing any MASK_CHECK frames in the input, use this lower wavelength cut before reconstructing ...
Structure to hold the parameters of the muse_geometry recipe.