Copies bad pixels from one NDF file to another COPYBAD
By setting the INVERT Parameter TRUE
, the opposite effect can be produced (i.e. any
pixel that is not set bad in the DATA array of REF, is set bad in OUT and the others
are left unchanged).
TRUE
, then the bad and good pixels within the reference NDF specified by Parameter REF
are inverted before being used (that is, good pixels are treated as bad and bad pixels
are treated as good). [FALSE]
[!]
"New image"
. If the two input NDFs have different pixel-index bounds, then they will be trimmed to match before being processed. An error will result if they have no pixels in common.
This routine correctly processes the WCS, AXIS, DATA, QUALITY, LABEL, TITLE, UNITS, HISTORY, and VARIANCE components of an NDF data structure and propagates all extensions.
The BAD_PIXEL flag is set appropriately.
All non-complex numeric data types can be handled.