If usecal= Y, the uplinked
bright pixels and known dead pixels (within the current window)
are read from the CAL and those pixels
are ignored in computing the local median
and the threshold.
Optionally (includedeadpixels parameter)
one may include the dead pixels from the CAL in the output list.
It is also possible (ignoreccfbright parameter) to ignore
the bright pixels declared in the CCF and redetect them from the data.
This does not apply to uplinked and dead pixels which appear dark
in the data and cannot be detected in a single observation.
If embadpixfind
was called with ignoreccfbright=Y
includedeadpixels=Y, badpix
may be called
with getnewbadpix=Y getotherbadpix=N
to keep only the bright pixels active
in the current exposure while preserving the information about
dead pixels.
With usecal=N, the embadpixfind algorithm is not XMM specific at all and works on any image where the normal structure size is larger than 5 pixels.