24 #ifndef MUSE_SCIPOST_Z_H 25 #define MUSE_SCIPOST_Z_H 31 #include <muse_instrument.h> 162 #define MUSE_SCIPOST_PARAM_RESAMPLE_NEAREST 1 163 #define MUSE_SCIPOST_PARAM_RESAMPLE_LINEAR 2 164 #define MUSE_SCIPOST_PARAM_RESAMPLE_QUADRATIC 3 165 #define MUSE_SCIPOST_PARAM_RESAMPLE_RENKA 4 166 #define MUSE_SCIPOST_PARAM_RESAMPLE_DRIZZLE 5 167 #define MUSE_SCIPOST_PARAM_RESAMPLE_LANCZOS 6 168 #define MUSE_SCIPOST_PARAM_RESAMPLE_INVALID_VALUE -1 169 #define MUSE_SCIPOST_PARAM_CRTYPE_IRAF 1 170 #define MUSE_SCIPOST_PARAM_CRTYPE_MEAN 2 171 #define MUSE_SCIPOST_PARAM_CRTYPE_MEDIAN 3 172 #define MUSE_SCIPOST_PARAM_CRTYPE_INVALID_VALUE -1 173 #define MUSE_SCIPOST_PARAM_FORMAT_CUBE 1 174 #define MUSE_SCIPOST_PARAM_FORMAT_EURO3D 2 175 #define MUSE_SCIPOST_PARAM_FORMAT_XCUBE 3 176 #define MUSE_SCIPOST_PARAM_FORMAT_XEURO3D 4 177 #define MUSE_SCIPOST_PARAM_FORMAT_SDPCUBE 5 178 #define MUSE_SCIPOST_PARAM_FORMAT_INVALID_VALUE -1 179 #define MUSE_SCIPOST_PARAM_WEIGHT_EXPTIME 1 180 #define MUSE_SCIPOST_PARAM_WEIGHT_FWHM 2 181 #define MUSE_SCIPOST_PARAM_WEIGHT_NONE 3 182 #define MUSE_SCIPOST_PARAM_WEIGHT_INVALID_VALUE -1 183 #define MUSE_SCIPOST_PARAM_SKYMETHOD_NONE 1 184 #define MUSE_SCIPOST_PARAM_SKYMETHOD_SUBTRACT_MODEL 2 185 #define MUSE_SCIPOST_PARAM_SKYMETHOD_MODEL 3 186 #define MUSE_SCIPOST_PARAM_SKYMETHOD_SIMPLE 4 187 #define MUSE_SCIPOST_PARAM_SKYMETHOD_INVALID_VALUE -1 188 #define MUSE_SCIPOST_PARAM_DARCHECK_NONE 1 189 #define MUSE_SCIPOST_PARAM_DARCHECK_CHECK 2 190 #define MUSE_SCIPOST_PARAM_DARCHECK_CORRECT 3 191 #define MUSE_SCIPOST_PARAM_DARCHECK_INVALID_VALUE -1 192 #define MUSE_SCIPOST_PARAM_RVCORR_BARY 1 193 #define MUSE_SCIPOST_PARAM_RVCORR_HELIO 2 194 #define MUSE_SCIPOST_PARAM_RVCORR_GEO 3 195 #define MUSE_SCIPOST_PARAM_RVCORR_NONE 4 196 #define MUSE_SCIPOST_PARAM_RVCORR_INVALID_VALUE -1 int rvcorr
Correct the radial velocity of the telescope with reference to either the barycenter of the Solar Sys...
double lambdamin
Cut off the data below this wavelength after loading the pixel table(s).
const char * skymethod_s
The method used to subtract the sky background (spectrum). Option "model" should work in all kinds of...
const char * darcheck_s
Carry out a check of the theoretical DAR correction using source centroiding. If "correct" it will al...
struct muse_scipost_params_s muse_scipost_params_t
Structure to hold the parameters of the muse_scipost recipe.
double skymodel_ignore
Fraction of the image to be ignored. If an input sky mask is provided, the fraction is applied to the...
int ld
Number of adjacent pixels to take into account during resampling in all three directions (loop distan...
const char * rvcorr_s
Correct the radial velocity of the telescope with reference to either the barycenter of the Solar Sys...
const char * pixfrac
Pixel down-scaling factor for the "drizzle" resampling method. Up to three, comma-separated, floating-point values can be given. If only one value is given, it applies to all dimensions, two values are interpreted as spatial and spectral direction, respectively, while three are taken as horizontal, vertical, and spectral.
const char * sky_crsigma
Sigma level clipping for cube-based and spectrum-based CR rejection when creating the sky spectrum...
const char * filter
The filter name(s) to be used for the output field-of-view image. Each name has to correspond to an E...
const char * weight_s
Type of weighting scheme to use when combining multiple exposures. "exptime" just uses the exposure t...
double dy
Vertical step size for resampling (in arcsec or pixel). The following defaults are taken when this va...
double lambdaref
Reference wavelength used for correction of differential atmospheric refraction. The R-band (peak wav...
double rc
Critical radius for the "renka" resampling method.
double skymodel_fraction
Fraction of the image (without the ignored part) to be considered as sky. If an input sky mask is pro...
const char * crtype_s
Type of statistics used for detection of cosmic rays during final resampling. "iraf" uses the varianc...
int darcheck
Carry out a check of the theoretical DAR correction using source centroiding. If "correct" it will al...
double skymodel_sampling
Spectral sampling of the sky spectrum [Angstrom].
int astrometry
If false, skip any astrometric calibration, even if one was passed in the input set of files...
double skymodel_csampling
Spectral sampling of the continuum spectrum [Angstrom].
int weight
Type of weighting scheme to use when combining multiple exposures. "exptime" just uses the exposure t...
const char * format_s
Type of output file format, "Cube" is a standard FITS cube with NAXIS=3 and multiple extensions (for ...
double lambdamax
Cut off the data above this wavelength after loading the pixel table(s).
double dx
Horizontal step size for resampling (in arcsec or pixel). The following defaults are taken when this ...
int skymethod
The method used to subtract the sky background (spectrum). Option "model" should work in all kinds of...
Structure to hold the parameters of the muse_scipost recipe.
double crsigma
Sigma rejection factor to use for cosmic ray rejection during final resampling. A zero or negative va...
int resample
The resampling technique to use for the final output cube.
double dlambda
Wavelength step size (in Angstrom). Natural instrument sampling is used, if this is 0...
int format
Type of output file format, "Cube" is a standard FITS cube with NAXIS=3 and multiple extensions (for ...
const char * resample_s
The resampling technique to use for the final output cube. (as string)
int crtype
Type of statistics used for detection of cosmic rays during final resampling. "iraf" uses the varianc...
const char * save
Select output product(s) to save. Can contain one or more of "cube", "skymodel", "individual", "positioned", "combined", and "stacked". If several options are given, they have to be comma-separated. ("cube": output cube and associated images, if this is not given, no final resampling is done at all – "skymodel": up to four additional output products about the effectively used sky that was subtracted with the "model" method – "individual": fully reduced pixel table for each individual exposure – "positioned": fully reduced and positioned pixel table for each individual exposure, the difference to "individual" is that here, the output pixel tables have coordinates in RA and DEC; this is only useful, if both the relative exposure weighting and the final resampling are to be done externally – "combined": fully reduced and combined pixel table for the full set of exposures, the difference to "positioned" is that all pixel tables are combined into one, with an added weight column; this is useful, if only the final resampling step is to be done separately – "stacked": an additional output file in form of a 2D column-stacked image, i.e. x direction is pseudo-spatial, y direction is wavelength.)