EXCLUDEBAD

Excludes bad rows or columns from a two-dimensional NDF

Description:

This application produces a copy of a two-dimensional NDF , but excludes any rows that contain too many bad aata values. Rows with higher pixel indices are shuffled down to fill the gaps left by the omission of bad rows. Thus if any bad rows are found, the output NDF will have fewer rows than the input NDF, but the order of the remaining rows will be unchanged. The number of good pixels required in a row for the row to be retained is specified by Parameter WLIM.

Bad columns may be omitted instead of bad rows (see Parameter ROWS).

Usage:

excludebad in out [rows] [wlim]

Parameters:

IN = NDF (Read)
The input two-dimensional NDF.
OUT = NDF (Write)
The output NDF.
ROWS = _LOGICAL (Read)
If TRUE, bad rows are excluded from the output NDF. If FALSE, bad columns are excluded. [TRUE]
WLIM = _REAL (Read)
The minimum fraction of the pixels which must be good in order for a row to be retained. A value of 1.0 results in rows being excluded if they contain one or more bad values. A value of 0.0 results in rows being excluded only if they contain no good values. [0.0]

Examples:

excludebad ifuframe goodonly false
Columns within NDF ifuframe that contain any good data are copied to NDF goodonly.

Notes:

Related Applications

KAPPA: CHPIX, FILLBAD, GLITCH, NOMAGIC, ZAPLIN; FIGARO: BCLEAN, CLEAN, ISEDIT, REMBAD, TIPPEX.

Implementation Status: