FP_JITTER

Reduces spatially jittered sets of 8-frame Fabry-Perot observations

Description:

This script reduces a Fabry-Perot observation with UFTI data. It takes an imaging observation comprising at least three sets of eight object frames, each set being for a different telescope position. The recipe combines these with a dark frame and a separate flat, to make a continuum-subtracted and sky-subtracted, untrimmed mosaic automatically.

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

[(F1 F2) (F4 F3)] + [(F5 F6) (F8 F7)] Flatfield

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.

Notes:

Output Data

Parameters:

NPAIRS = INTEGER
The number of frame pairs to be differenced. It must be a multiple of 2 otherwise 4 is assumed. A value of four or more is assumed to indicate sky subtraction. [4]
NUMBER = INTEGER
The number of spatial jitter positions. For each spatial position there are NPAIRS pairs of frames. A value of 1 also dictates that no jittering has occurred. To make a master mosaic combining spatial positions NUMBER should be at least 3.

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. []

USEVAR = LOGICAL
Whether or not to create and propagate variance arrays. [0]

Related Recipes

FP, FP_JITTER_NO_SKY, SKY_FLAT_FP.

Implementation Status: