24 #ifndef MUSE_WAVECAL_Z_H 25 #define MUSE_WAVECAL_Z_H 31 #include <muse_instrument.h> 113 #define MUSE_WAVECAL_PARAM_COMBINE_AVERAGE 1 114 #define MUSE_WAVECAL_PARAM_COMBINE_MEDIAN 2 115 #define MUSE_WAVECAL_PARAM_COMBINE_MINMAX 3 116 #define MUSE_WAVECAL_PARAM_COMBINE_SIGCLIP 4 117 #define MUSE_WAVECAL_PARAM_COMBINE_INVALID_VALUE -1 118 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_UNIFORM 1 119 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_CERR 2 120 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_SCATTER 3 121 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_CERRSCATTER 4 122 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_INVALID_VALUE -1 double fitsigma
Sigma level for iterative rejection of deviant datapoints during the final polynomial wavelength solu...
double linesigma
Sigma level for iterative rejection of deviant fits for each arc line within each slice...
const char * ovscreject
This influences how values are rejected when computing overscan statistics. Either no rejection at al...
double ovscsigma
If the deviation of mean overscan levels between a raw input image and the reference image is higher ...
int ovscignore
The number of pixels of the overscan adjacent to the data section of the CCD that are ignored when co...
double dres
The allowed range of resolutions for pattern matching (of detected arc lines to line list) in fractio...
int nifu
IFU to handle. If set to 0, all IFUs are processed serially. If set to -1, all IFUs are processed in ...
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.
int wavemap
Create a wavelength map of the input images.
int lampwise
Identify and measure the arc emission lines on images separately for each lamp setup.
int residuals
Create a table containing residuals of the fits to the data of all arc lines. This is useful to asses...
int resample
Resample the input arc images onto 2D images for a visual check using tracing and wavelength calibrat...
int yorder
Order of the polynomial used to fit the dispersion relation.
int fitweighting
Type of weighting to use in the final polynomial wavelength solution fit, using centroiding error est...
const char * combine_s
Type of lampwise image combination to use. (as string)
int combine
Type of lampwise image combination to use.
Structure to hold the parameters of the muse_wavecal recipe.
double tolerance
Tolerance for pattern matching (of detected arc lines to line list)
const char * fitweighting_s
Type of weighting to use in the final polynomial wavelength solution fit, using centroiding error est...
double sigma
Sigma level used to detect arc emission lines above the median background level in the S/N image of t...
int merge
Merge output products from different IFUs into a common file.
struct muse_wavecal_params_s muse_wavecal_params_t
Structure to hold the parameters of the muse_wavecal recipe.
int xorder
Order of the polynomial for the horizontal curvature within each slice.