FP_JITTER_NO_SKY

Reduces a spatially jittered 4-frame Fabry-Perot observation

Description:

This script reduces a Fabry-Perot observation with UFTI data. It takes an imaging observation comprising at least three sets of four 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, untrimmed mosaic automatically.

Each sequence of four frames expected in each spatial position are tabulated below.

Frame
Position
Wavelength



1 On source On line
2 On source Off line, positive offset
3 On source On line
4 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)] 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 (F1 F2), when the pair becomes available, rather than waiting until all four 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. [2]
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

SKY_FLAT_FP, FP, FP_JITTER.

Implementation Status: