Creates and files a bad-pixel mask from a long-exposure dark
The dark must have a minimum exposure of 20 seconds.
Clipping is at 2,3,3 standard deviations.
Bad values are deemed to be those beyond the range of the clipped mean +/− 5 standard deviations.
Intermediate frames are deleted.
Sub-arrays are supported.
The bad-pixel mask is called bpm_<frame_number>
.
The bad-pixel mask is filed in $ORAC_DATA_OUT/index.mask.
The processing engines are from the Starlink package Kappa.
Uses the Starlink NDF format.
History is recorded within the data files.
The title of the data is "bpm_<frame_number>"
.
Error propagation is not used.