This routine assigns (or optionally removes) the quality
specified by Parameter QNAME to (or from) selected pixels in an
NDF . For more information about using quality within
KAPPA see ``Using Quality Names''.
The user can select the pixels to be operated on in one of three
ways (see Parameter SELECT).
The operation to be performed on the pixels is specified by
Parameter FUNCTION. The given quality may be assigned to or
removed from pixels within the NDF. The pixels operated on
can either be those selected by the user (as described above),
or those not selected. The quality of all other pixels is left
unchanged (unless the Parameter FUNCTION is given the value
HU" or "NU
HS"). Thus for instance if
pixel (1, 1) already held the
quality specified by QNAME, and the quality was then assigned to
pixel (2, 2) this would not cause the quality to be removed from
pixel (1, 1).
- By giving a `mask' NDF. Pixels with bad values in the mask NDF
will be selected from the corresponding input NDF.
- By giving a list of pixel indices for
the pixels that are to be selected.
- By giving an ARD file containing a description of the regions of
the NDF that are to be selected. The ARD
system (see SUN/183) uses a
textual language to describe geometric regions of an array. Text
files containing ARD description suitable for use with this
routine can be created interactively using the routine
ARDGEN or with GAIA.