MUSE Pipeline Reference Manual  1.0.2
muse_create_sky_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-2014 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_CREATE_SKY_Z_H
25 #define MUSE_CREATE_SKY_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_create_sky_params_s {
50  double fraction;
51 
53  double sampling;
54 
56  double csampling;
57 
59  int cr;
61  const char *cr_s;
62 
64  double lambdamin;
65 
67  double lambdamax;
68 
70  double lambdaref;
71 
72  char __dummy__; /* quieten compiler warning about possibly empty struct */
74 
75 #define MUSE_CREATE_SKY_PARAM_CR_NONE 1
76 #define MUSE_CREATE_SKY_PARAM_CR_CUBE 2
77 #define MUSE_CREATE_SKY_PARAM_CR_SPECTRUM 3
78 #define MUSE_CREATE_SKY_PARAM_CR_INVALID_VALUE -1
79 
82 /*----------------------------------------------------------------------------*
83  * Function prototypes *
84  *----------------------------------------------------------------------------*/
85 int muse_create_sky_compute(muse_processing *, muse_create_sky_params_t *);
86 
87 #endif /* MUSE_CREATE_SKY_Z_H */
struct muse_create_sky_params_s muse_create_sky_params_t
Structure to hold the parameters of the muse_create_sky recipe.
double csampling
Spectral sampling of the continuum spectrum [Angstrom].
int cr
Type of cosmic ray cleaning to use. "Cube" is the standard CR cleaning which works on a datacube...
double lambdamin
Cut off the data below this wavelength after loading the pixel table(s).
double sampling
Spectral sampling of the sky spectrum [Angstrom].
double fraction
Fraction of the image to be considered as sky. If an input sky mask is provided, the fraction is appl...
double lambdamax
Cut off the data above this wavelength after loading the pixel table(s).
double lambdaref
Reference wavelength used for correction of differential atmospheric refraction. The R-band (peak wav...
const char * cr_s
Type of cosmic ray cleaning to use. "Cube" is the standard CR cleaning which works on a datacube...
Structure to hold the parameters of the muse_create_sky recipe.