Next: REGIONMASK - Applies a mask to a region of an NDF
Up: Specifications of KAPPA applications
Previous: PSF - Determines the parameters of a model star profile by fitting star images in a two-dimensional NDF
QUALTOBAD
- Set selected NDF pixels bad on the basis of Quality
- Description:
- This routine produces a copy of an input NDF in which selected pixels
are set bad. The selection is based on the values in the
QUALITY component of the input NDF; any pixel which
holds a set of qualities satisfying the quality expression given
for Parameter QEXP is set bad in the output NDF. Named
qualities can be associated with specified pixels using the
SETQUAL task.
- Usage:
-
qualtobad in out qexp
-
- Parameters:
-
IN = NDF (Read)
-
The input NDF.
-
OUT = NDF (Write)
-
The output NDF.
-
QEXP = LITERAL (Read)
-
The quality expression.
-
TITLE = LITERAL (Read)
-
Title for the output NDF. A null (!) value will cause the input
title to be used. [!]
- Examples:
- qualtobad m51
_clean saturated.or.glitch
- This example copies all NDFs starting with the string "m51" to
a set of corresponding output NDFs. The name of each output
NDF is formed by extending the name of the input NDF with the
string "_clean". Any pixels which hold either of the qualities
"saturated" or "glitch" are set to the bad value in the output
NDFs.
-
Related Applications
:
- KAPPA: REMQUAL,
SETBB,
SETQUAL,
SHOWQUAL.
Next: REGIONMASK - Applies a mask to a region of an NDF
Up: Specifications of KAPPA applications
Previous: PSF - Determines the parameters of a model star profile by fitting star images in a two-dimensional NDF
KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council