Instrumental Image Calibration Steps

I. Single Orbit Pipeline Processing

The following is based on Roc's WSDS Pipelines Subsystem Function Overview. Here's a broad overview of the main steps:

  1. Monitor of ingested raw image buffer and metadata; availabilty of calibration data; transfer to working area.
  2. Instrumental image calibration (see Section I.1).
  3. Source detection, characterization and aperture photometry.
  4. Frame bandmerge.
  5. Pointing reconstruction (refinement) and astrometric solutions for scale, distortion.
  6. Optical artifact identification and single-frame radhit flagging based on optimized matched filters (or flagging "bad" χ2 fits to sources?) and correlating positions in source lists from frame overlaps. Later use these to (i) update (cleanup or flag) source detection lists; (ii) update frame processing status masks for use by coadder;
  7. Solar System object identification.
  8. Accumulate frame detections, bandmerge and LogN-LogS statistics; mean photometric offsets from frame overlaps; image shape/asymmetry characterization for scan-mirror synchronization assessment. Output measures to QA.
  9. Photometric calibration.
  10. Derive and/or collect orbit parameters and statistics: band-to-band and overlap frame offsets; coverage (area vs. time); sensitivity.
  11. Update working group DBs with image data (file system pointers); new metadata; bandmerged (position tagged) source records.
  12. Assemble single orbit QA information from all steps, assign quality scores, generate QA report.

1. Instrumental Image Calibration

Below we outline the (TBD) generic instrumental calibration steps for processing of raw frames across all WISE bands. For a more specific plan of the overall pipeline infrastructure, and thoughts on how/when certain calibration products are created and used, see: Instrumental Calibration Pipeline Plan.

Some of the calibration steps may only be specific to the Si:As arrays (bands 3&4), as suggested from prior experience with similar detectors on Spitzer (MIPS-ch1 and IRAC-ch3&4). These, as well as any new corrections across all bands will be looked for in upcoming ground characterization.

The information below was gathered with assistance from the following sources:

a. Inputs

The main inputs are calibrations matched to the science frames to be processed. Some of these can be created on-orbit, and if not, our best guess will have to come from ground characterization.

i. Bad-pixel Mask

For example: known hot, dead, low responsive pixels from ground testing. Can then validate/update using on-orbit dark sky median statistics from frame stacks for flat/sky-offset generation. Check for persistence at same x,y locations between consecutive frames. Can also track using frame pixel histograms.

ii. Flat Field Images

Can acquire from:

Some points to note:

iii. Sky Offset (Illumination Profile) Images

These can be generated from a trimmed mean (or median) of N stacked images of the sky in a moving window of length TBD. The inputs are dark-subtracted, linearized, flat-fielded and then the mean/median image is zero-normalized using the mean/median over all frames. These will be subtracted from the science frames in that window. These sky-offset corrections compensate for any short term effects not characterized by the "long term" dark or flat corrections.

The optimum size of the moving window can be derived by monitoring the repeatability in relative photometry with time. The assumption here is that the temporal variations are due to varying dark and/or flat calibrations. To assist in tracking the variations, QA information needs to be generated and stored for each product.

NOTE: this step may remove real (natural) background gradients from the science frames. However, this can be circumvented by averaging (lots of) frames taken over at least half an orbit, i.e., such that any zodiacal gradients in the sky frames cancel out. However, this window may be too long to filter out the short term variations sought for.

iv. Dark Images

These need to be generated on the ground. We need to track changes with temperature, especially after annealing. Can we acquire darks for bands 1 and 2 with the cover on in IOC? Bands 3 and 4 will be difficult to acquire in orbit. Can we sacrifice the background and create darks from patches of "dark" sky (if such exist)? Is there some configuration of the scan-mirror (i.e., it's maximum extent) that can give us a reasonably dark field? A measure of the "long term" residual dark (offset) above background can also be derived by normalizing against DIRBE observations.

Prior to second-pass processing, we can find an optimal set of darks (and flats) by estimating corrections to pre-existing calibrations that give us minimal variation in time and space (over each array) in the flux from the same piece of sky, or, a collection of sources. In the end, the variations will need to be consistent with random measurement error.

v. Non-linearity Calibration

vi. Other Calibration Files?

e.g. gain and read noise maps.

vii. Uncertainty Images

Need to accompany each of the above calibration products for end-to-end error propagation.

viii. Processing Parameter Files

I.e., control files. As individual namelists, or, a single ascii file of all parameters with defaults?

b. Retrieval of raw images, calibration data, and processing control files

c. Sanity check on selected metadata in FITS header / missing pixel data / new broken pixels (?)

d. Bias/offset corrections

e. Saturation Detection/Flagging

f. BITPIX conversion and LSB truncation correction

g. Single frame radiation hit detection (relegate to step 6 ?)

h. Noise estimation in raw image

From Poisson/read noise model, i.e., initialize uncertainty image for downstream error propagation.

i. Correct for row-dependent biases in any reads (?)

Was seen in MIPS-24 and termed the "read-2 effect". Here, the second read of every ramp was seen have a small offset relative to a linear extrapolation from samples higher on the ramp. The magnitude of this offset was seen to be row-dependent (cross read-out direction).

j. Droop correction

k. Correct other electronic artifacts?

l. Dark Subtraction

Subtract dark image (from library of ground calibrations referenced according to dependencies: e.g., temperature, anneals?)

m. Non-linearity Correction

See calibration options in I.1.a.v.

n. Flatfield correction: non-uniformities in pixel response

See calibration options in I.1.a.ii.

o. Sky offset subtraction (zero-normalized illumination profile)

See calibration method in I.1.a.iii.

p. Generate image frame statistics (skip masked pixels where necessary)

q. Outputs (products) at this stage:

7. Optical Artifact Identification

This section expands on the "latent detection and flagging" substep in step 6 of overall single orbit processing. Other artifact identification strategies will be added soon.

a. Latent Detection and Flagging




Last update - 29 July 2007
F. Masci, R. Cutri - IPAC