MUSE Pipeline Reference Manual  2.1.1
muse_lsf_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_LSF_Z_H
25 #define MUSE_LSF_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_lsf_params_s {
50  int nifu;
51 
53  const char * overscan;
54 
56  const char * ovscreject;
57 
59  double ovscsigma;
60 
63 
66 
69 
71  double lsf_range;
72 
74  int lsf_size;
75 
78 
81 
83  int merge;
84 
86  int combine;
88  const char *combine_s;
89 
91  int method;
93  const char *method_s;
94 
95  char __dummy__; /* quieten compiler warning about possibly empty struct */
97 
98 #define MUSE_LSF_PARAM_COMBINE_AVERAGE 1
99 #define MUSE_LSF_PARAM_COMBINE_MEDIAN 2
100 #define MUSE_LSF_PARAM_COMBINE_MINMAX 3
101 #define MUSE_LSF_PARAM_COMBINE_SIGCLIP 4
102 #define MUSE_LSF_PARAM_COMBINE_INVALID_VALUE -1
103 #define MUSE_LSF_PARAM_METHOD_INTERPOLATE 1
104 #define MUSE_LSF_PARAM_METHOD_HERMIT 2
105 #define MUSE_LSF_PARAM_METHOD_INVALID_VALUE -1
106 
109 /*----------------------------------------------------------------------------*
110  * Function prototypes *
111  *----------------------------------------------------------------------------*/
112 int muse_lsf_compute(muse_processing *, muse_lsf_params_t *);
113 
114 #endif /* MUSE_LSF_Z_H */
int method
LSF generation method. Depending on this value, either an interpolated LSF cube is created...
Definition: muse_lsf_z.h:91
int lambda_size
Image size in line wavelength direction.
Definition: muse_lsf_z.h:77
double ovscsigma
If the deviation of mean overscan levels between a raw input image and the reference image is higher ...
Definition: muse_lsf_z.h:59
const char * ovscreject
This influences how values are rejected when computing overscan statistics. Either no rejection at al...
Definition: muse_lsf_z.h:56
int nifu
IFU to handle. If set to 0, all IFUs are processed serially. If set to -1, all IFUs are processed in ...
Definition: muse_lsf_z.h:50
const char * overscan
If this is "none", stop when detecting discrepant overscan levels (see ovscsigma), for "offset" it assumes that the mean overscan level represents the real offset in the bias levels of the exposures involved, and adjusts the data accordingly; for "vpoly", a polynomial is fit to the vertical overscan and subtracted from the whole quadrant.
Definition: muse_lsf_z.h:53
int save_subtracted
Save the pixel table after the LSF subtraction.
Definition: muse_lsf_z.h:65
int merge
Merge output products from different IFUs into a common file.
Definition: muse_lsf_z.h:83
int ovscignore
The number of pixels of the overscan adjacent to the data section of the CCD that are ignored when co...
Definition: muse_lsf_z.h:62
int lsf_size
Image size in LSF direction.
Definition: muse_lsf_z.h:74
const char * combine_s
Type of lampwise image combination to use. (as string)
Definition: muse_lsf_z.h:88
Structure to hold the parameters of the muse_lsf recipe.
Definition: muse_lsf_z.h:48
struct muse_lsf_params_s muse_lsf_params_t
Structure to hold the parameters of the muse_lsf recipe.
int line_quality
Minimal quality flag in line catalog for selection.
Definition: muse_lsf_z.h:68
int combine
Type of lampwise image combination to use.
Definition: muse_lsf_z.h:86
const char * method_s
LSF generation method. Depending on this value, either an interpolated LSF cube is created...
Definition: muse_lsf_z.h:93
double lsf_range
Wavelength window (half size) around each line to estimate LSF.
Definition: muse_lsf_z.h:71
double lsf_regression_window
Size of the regression window in LSF direction.
Definition: muse_lsf_z.h:80