next up previous 107
Next: Recipe Names
Up: ORAC-DR - Programmer's Guide
Previous: Overview

Recipes

Recipes in ORAC-DR consist of a series of data reduction steps (primitives) containing instructions for the reduction of data. In general, recipes are different for each instrument supported and are keyed to the specific observing mode used to take the data.

An example recipe may look something like:

=head1 NAME

RECIPE_NAME - Short description of what the recipe does

=head1 DESCRIPTION

Long description of what recipe does.

=head1 NOTES

Some notes associated with the recipe.

=head1 SEE ALSO

List of related recipes.

=head1 AUTHORS

List of authors

=cut

_INSTRUMENT_HELLO_
# A comment
_STEP_ONE_
_STEP_TWO_  ARG1=number ARG2=string
_STEP_THREE_
_TIDY_RECIPE_

This recipe illustrates all the important features of a recipe:

Here is a more concrete example, the UFTI QUADRANT_JITTER recipe (without the pod sections and only minimal comments):

# Initialisation
_IMAGING_HELLO_
_CREATE_WCS_
_QUADRANT_JITTER_HELLO_
_QUADRANT_JITTER_STEER_
# Calibration
_MASK_BAD_PIXELS_
_SUBTRACT_DARK_
_FLAT_FIELD_QUADRANT_JITTER_ MASK=1
# Mosaicking
_GENERATE_OFFSETS_QUADRANT_JITTER_ PERCENTILE=99 COMPLETE=0.4 MINPIX=12
_MAKE_MOSAIC_QUADRANT_OPTIMISED_ RESAMPLE=1 INT_METHOD=linint FILLBAD=1
# Cleanup
_QUADRANT_JITTER_TIDY_





next up previous 107
Next: Recipe Names
Up: ORAC-DR - Programmer's Guide
Previous: Overview

ORAC-DR -- Programmer's Guide
Starlink User Note 233
Tim Jenness, Frossie Economou, Brad Cavanagh
Joint Astronomy Centre, Hilo, Hawaii
June 2004
E-mail:ussc@star.rl.ac.uk

Copyright © 2004 Particle Physics and Astronomy Research Council