CCG_FRC3x

Combines data lines by counting pixels

Description:

This routine accepts an array consisting a series of (vectorised) lines of data. The data values in the lines are then collapsed to the fraction of good (or bad) values in each line. The output values are returned in the array RESULT.

Invocation

CALL CCG_FRC3x( IMETH, NPIX, NLINES, STACK, RESULT, NCON, NBAD, STATUS )

Arguments

IMETH = INTEGER (Given)
37 - Return the fraction of good values in each line. 38 - Return the fraction of bad values in each line.
NPIX = INTEGER (Given)
The number of pixels in a line of data.
NLINES = INTEGER (Given)
The number of lines of data in the stack.
STACK( NPIX, NLINES ) = ? (Given)
The array of lines which are to be combined into a single line.
RESULT( NPIX ) = ? (Returned)
The output line of data.
NCON( NLINES ) = DOUBLE PRECISION (Returned)
The actual number of contributing pixels from each input line to the output line. Each value in this array is set to NPIX.
NBAD = INTEGER (Returned)
The number of bad values in the output array created while forming the statistics. This is always returned as zero by this routine.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: