Recipe parameters allow you to control the processing of a recipe without having to edit recipes or primitives. A standard .ini format is used. Using the ACSIS REDUCE_SCIENCE_NARROWLINE recipe as an example, a recipe parameters file would look like
[REDUCE_SCIENCE_NARROWLINE] # Use a 2nd order polynomial. BASELINE_ORDER = 2 # Six-arcsecond pixel scale. PIXEL_SCALE = 6
The format is:
- recipe names in section headers denoted with square brackets
- parameter name and value separated by an equal sign (with optional spaces between for readability)
- comments start with a hash
- blank lines are ignored
The list of available parameters can be found in the "AVAILABLE PARAMETERS" documentation section of recipes. If a recipe does not have this section then it does not support recipe parameters.
To tell ORAC-DR about your parameters file, add the "-recpars <filename>" command-line option.
Supported recipes
ACSIS
REDUCE_SCIENCE_GRADIENT & REDUCE_SCIENCE_NARROWLINE:
- BASELINE_ORDER, CREATE_MOMENTS_USING_SNR, CUBE_WCS, FLATFIELD, MOMENTS, PIXEL_SCALE, REBIN, RESTRICT_LOWER_VELOCITY, RESTRICT_UPPER_VELOCITY, SPREAD_METHOD, SPREAD_WIDTH, SPREAD_FWHM_OR_ZERO
- REDUCE_SCIENCE_LINEFOREST:
- BASELINE_ORDER, CREATE_MOMENTS_USING_SNR, CUBE_WCS, FLATFIELD, MINIMUM_LINE_WIDTH, MOMENTS, PIXEL_SCALE, REBIN, RESTRICT_LOWER_VELOCITY, RESTRICT_UPPER_VELOCITY, SPREAD_METHOD, SPREAD_WIDTH, SPREAD_FWHM_OR_ZERO
PICARD
- CROP_IMAGES
- MAP_WIDTH, MAP_HEIGHT
SCUBA-2
- REDUCE_SCAN:
- MAKEMAP_CONFIG
WFCAM
- JITTER:
- DEBAND_TECHNIQUE, SKY_SUBTRACT
