|
`I`iwi version 2 is currently used for data preprocessing.
The current pipeline goes through the following steps:
- Subtracts the bias from each line using reference pixels
- Subtracts the dark
- Divides by the dome flat field
- Masks the bad pixels
- Applies a non-linearity correction
- Builds and subtracts the sky background
- Provides a rough ~15 arcsec astrometry
- Matches the 2MASS catalog to measure the absorption and photometry
Known issues with the current version:
- No non-linearity correction (of up to 5% for 2005B and 2006A).
- No DC correction of the horizontal bands extending on each sides from the
guide box (does not affect all guided exposures).
- No illumination correction of the flat field to account for stray-light or
uneven photometry across the field of view.
It is worth detailing a little more the step of sky subtraction. A
relatively standard method is used. Processed images taken close in time (within
20 minutes) and at different sky positions are scaled to the same median level and
each pixel is medianed, excluding the current image. The exact number of images,
of different DP positions and the time window used are variable and can be set
manually. A minimum of 3 dithered exposures are used. If these constraints cannot
be met, a default sky of ones is used. Usually, about 5-9 images are used.
A mask is applied prior to the medianing. The current implementation of the
masking is a quick and dirty one. All pixels above a 4-sigma threshold are
masked prior to the medianing. It has been noticed on stacked images that sky
subtraction residues exist due to faint sources remaining under that threshold.
A note about flat fielding. We only use twilight flats taken in real-time
for our processing. Differences exist between dome and twilight flats, and a
detailed investigation informed us that twilight flats work better than the dome
flats for WIRCam images. We no longer use take dome flats.
A note about dark subtraction. We currently acquire sequences of darks
at a few exposure times and use the exposure time closest to the actual
exposure time for data processing.
General quality of the preprocessed images. The photometric accuracy
of the current processing is probably close to 5%. The main systematic effect
should be coming from the uncorrected non-linearity. On deep stacks, the quick
and dirty sky subtraction sets the limiting magnitude.
|