Each sequence of eight frames expected in each spatial position are tabulated below.
| Frame | Position | Wavelength |
| 1 | On source | On line |
| 2 | Off source | On line |
| 3 | Off source | Off line, positive offset |
| 4 | On source | Off line, positive offset |
| 5 | On source | On line |
| 6 | Off source | On line |
| 7 | Off source | Off line, negative offset |
| 8 | On source | Off line, negative offset |
For each spatial set, the recipe performs a null debiassing, bad-pixel masking, dark subtraction, pairwise frame differencing, flat-field division, integer shifts of origin to register, and mosaicking. The wavelength-shifted mosaic is given by
where Fn is the bad-pixel masked and dark subtracted frame n. In practice, the flat field is applied to each differenced pair, such as (F4 - F3), when the pair becomes available, rather than waiting until all eight frames have been observed.
Finally the recipe registers all the wavelength mosaics spatially, and forms a untrimmed mosaic, combined using the median to reduce stellar artifacts.
If NUMBER is absent, the number of offsets, as given by internal header NOFFSETS, minus one is used. An error state arises if the resulting number of jittered frames is fewer than 3, and a default of 3 is assumed.
If neither NUMBER nor NOFFSETS are defined, 1 is used. []
ORAC-DR -- imaging data reduction