The package provides three major methods of cosmic ray identification:
Significant pixels are then rejected and the whole order is re-processed. Iterations continue until the overall significance of all outliers in the order is below a user-supplied threshold. Each order is processed independently in two parts, first the sky pixels, and then the object pixels.
The significance of a fit is calculated by assuming a Gaussian distribution of deviations from expected intensities and using the Kolmogorov-Smirnov statistic.
A post processor is used to counteract the tendency of cosmic ray identifiers to be fooled by sky line pixels. This task examines the geometry of all 'connected' cosmic ray pixels and restores any which it adjudges are actually due to bright sky emission lines.
$ECHOMOP_SOURCE/decos_many
provides this facility and should be the preferred method when multiple frames are available. The procedure calculates a median image and then rejects pixels which deviate by more than n sigma from the median value (note that this means that all the frames must be of equal exposure time). Bad pixels are flagged by placing values in the quality array of the frame concerned.
Martin Clayton