Primitives are the Perl scripts which actually call the applications to do most of the data processing. All of the spectroscopy recipes are, in principle, independent of the instrument. however, some recipes are inappropriate; for example, the LAMP_FLAT recipe is intended for flat-field generation for NIRI, but not for other instruments.
Not all the following steps apply to all recipes. Consult the reference section to see summaries for each recipe. The steps are presented in normal order of appearance.
The main primitives pertinent to each step are listed in bracketed italics, should you wish to tailor the recipes. These are found in the $ORAC_DIR/spectroscopy tree, unless they start with general/. Note that some may be instrument-specific variants, either given explicitly or with the <instrument> token, which means substitute the instrument name in uppercase.
While the following listed primitives form the bulk of the primitive library, there are many not listed here, mostly those for recipe initialisation called &<&recipe&>&_HELLO_. and for recipe steering, which control when to perform certain operations, called <recipe>_STEER_ or <recipe>_CONFIG_. The first of these is normally left unchanged unless there is a need to add more steering parameters. Other primitives not mentioned here are tied closely with single recipes, usually to create and file calibrations.
ORAC-DR -- spectroscopy data reduction