3.4.9 CCD sample masking and flagging
Author(s): Michael Davidson
The quality of the image parameters ultimately depends on the accuracy of the modelling of the samples in each window. A window model will consider electronic bias levels, background, sample geometry, the PSF/LSF and other factors. However, there are samples which cannot be adequately modelled and therefore ought to be masked instead. Various processing steps use the sample masks including the PSF/LSF calibration and the Image Parameter Determination.
Separate masks are determined for a given window:
-
•
erased samples - these are samples which have not been acquired due to inter-field conflict, read-out chain corruption or CCD edges,
-
•
below bias level - these typically indicate numerical overflow during the preparation of a software-binned sample in SM or AF1,
-
•
hot columns - these contain unusually high dark signal,
-
•
cosmic rays - these high energy prompt particle events cause sharp anomalies,
-
•
non-linear - these samples are saturated or acquired in the non-linear detector response regime,
-
•
gate spill - charge held at a gate can spill forward into the preceding samples,
-
•
extra defects - various specific known defects such as CRNU anomalies and deep traps.
A summary mask can then be prepared from each of these contributions. The actual masking behaviour will vary between 1D and 2D windows. In 2D windows the affected sample can be masked, but this would not always be possible for 1D windows as a column defect would cause the loss of all samples. In either event the observation can be flagged as being affected by some form of masking or defect. For example, we can consider a window on a known hot column. A 2D window could simply be masked to remove the hot column samples, whereas for a 1D window we can only include the predicted dark signal in the window model and flag its processing as sub-optimal.
Note that further sample masking can occur depending on processing context. For instance, in IPD we also mask to ensure that all input samples are acquired with a single gate and have the same geometry, and to exclude samples affected by gate release.