Replaces all occurrences of a given value in an NDF array with the bad value
"Data"
, "Variance"
, "Error"
, or "All"
. The last of the options forces
substitution of bad pixels in both the data and variance arrays. This parameter is
ignored if the data array is the only array component within the NDF. ["Data"]
"All"
. It must
lie within the minimum and maximum values of the data type of the array with
higher precision. The replacement value is converted to data type of the array
being converted before the search begins. The suggested default is the current
value. !
) propagates the title from the input NDF to the output NDF. [!]
−2000000
are flagged with the standard bad value in aitoff. The comparison for floating-point values tests that the difference between the replacement value and the element value is less than their mean times the precision of the data type.
This routine correctly processes the AXIS, DATA, QUALITY, VARIANCE, LABEL, TITLE, UNITS, WCS, and HISTORY components of an NDF data structure and propagates all extensions.
Processing of bad pixels and automatic quality masking are supported.
All non-complex numeric data types can be handled.
Any number of NDF dimensions is supported.