This task allows regions of an NDF to be masked, so
that they can (for instance) be excluded from subsequent data
processing. ARD (ASCII Region Definition) descriptions
(SUN/183) stored in
a text file define which pixels of the data array are masked. An
output NDF is created which is the same as the input file except
that all pixels specified by the ARD file have been assigned either
the bad value or a specified constant value. This value can be
assigned to either the inside or the outside of the specified
ARD region.
If positions in the ARD description are given using a
co-ordinate system that has one fewer axes than the input NDF,
then each line or plane in the NDF will be masked independently
using the supplied ARD description. For instance, if a
two-dimensional ARD description that uses (RA,Dec) to specify
positions is used to mask a three-dimensional (ra,dec,velocity)
NDF, then each velocity plane in the NDF will be masked
independently.