24 #ifndef MUSE_SCIBASIC_Z_H 25 #define MUSE_SCIBASIC_Z_H 31 #include <muse_instrument.h> 134 #define MUSE_SCIBASIC_PARAM_CR_NONE 1 135 #define MUSE_SCIBASIC_PARAM_CR_DCR 2 136 #define MUSE_SCIBASIC_PARAM_CR_INVALID_VALUE -1 137 #define MUSE_SCIBASIC_PARAM_COMBINE_NONE 1 138 #define MUSE_SCIBASIC_PARAM_COMBINE_AVERAGE 2 139 #define MUSE_SCIBASIC_PARAM_COMBINE_MEDIAN 3 140 #define MUSE_SCIBASIC_PARAM_COMBINE_MINMAX 4 141 #define MUSE_SCIBASIC_PARAM_COMBINE_SIGCLIP 5 142 #define MUSE_SCIBASIC_PARAM_COMBINE_INVALID_VALUE -1 const char * skyreject
Sigma clipping parameters for the intermediate spectrum to do the Gaussian fit to each sky emission l...
int nkeep
Number of pixels to keep with minmax.
double hsigma
High sigma for pixel rejection with sigclip.
int passes
Maximum number of cleaning passes. Only used if cr=dcr.
double ovscsigma
If the deviation of mean overscan levels between a raw input image and the reference image is higher ...
const char * combine_s
Type of combination to use. Note that in most cases, science exposures cannot easily be combined on t...
double dlambda
Wavelength step (in Angstrom per pixel) to use for resampling.
double lsigma
Low sigma for pixel rejection with sigclip.
int combine
Type of combination to use. Note that in most cases, science exposures cannot easily be combined on t...
int scale
Scale the individual images to a common exposure time before combining them.
int saveimage
Save the pre-processed CCD-based image of each input exposure before it is transformed into a pixel t...
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.
struct muse_scibasic_params_s muse_scibasic_params_t
Structure to hold the parameters of the muse_scibasic recipe.
int cr
Type of cosmic ray cleaning to use (for quick-look data processing).
int resample
Resample the input science data into 2D spectral images using all supplied calibrations for a visual ...
int merge
Merge output products from different IFUs into a common file.
int nifu
IFU to handle. If set to 0, all IFUs are processed serially. If set to -1, all IFUs are processed in ...
double skyhalfwidth
Half-width of the extraction box (in Angstrom) around each sky emission line.
int crop
Automatically crop the output pixel tables in wavelength depending on the expected useful wavelength ...
const char * ovscreject
This influences how values are rejected when computing overscan statistics. Either no rejection at al...
int xbox
Search box size in x. Only used if cr=dcr.
int nhigh
Number of maximum pixels to reject with minmax.
int ybox
Search box size in y. Only used if cr=dcr.
double thres
Threshold for detection gap in factors of standard deviation. Only used if cr=dcr.
Structure to hold the parameters of the muse_scibasic recipe.
double skybinsize
Size of the bins (in Angstrom per pixel) for the intermediate spectrum to do the Gaussian fit to each...
const char * cr_s
Type of cosmic ray cleaning to use (for quick-look data processing). (as string)
const char * skylines
List of wavelengths of sky emission lines (in Angstrom) to use as reference for wavelength offset cor...
int ovscignore
The number of pixels of the overscan adjacent to the data section of the CCD that are ignored when co...
int nlow
Number of minimum pixels to reject with minmax.