next up previous 278
Next: CCG_RMS3x - Combines data lines using the root mean square
Up: Routine Descriptions
Previous: CCG_ORVAR - Returns the variances and covariances of the order statistics from n to 1, assuming an initially normal distribution


CCG_RMS1x - Combines data lines using the root mean square

Description:
This routine accepts an array consisting a series of (vectorised) lines of data. The data values in each lines are then combined to form the roor mean square of the values. The output rot mean squares are returned in the array RESULT. The squared standard error of the variance is returned in RESVAR.

Invocation:
CALL CCG_RMS1x( NPIX, NLINES, STACK, MINPIX, RESULT, RESVAR, NCON, NBAD, STATUS )

Arguments:

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.
MINPIX = INTEGER (Given)
The minimum number of pixels required to contribute to an output pixel.
RESULT( NPIX ) = ? (Returned)
The output line of data.
RESVAR( NPIX ) = ? (Returned)
The output variances.
NCON( NLINES ) = DOUBLE PRECISION (Returned)
The actual number of contributing pixels from each input line to the output line.
NBAD = INTEGER (Returned)
The number of bad values in the output array created while forming the statistics. It excludes those bad values whose corresponding values along the collapse axis are all bad.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 278
Next: CCG_RMS3x - Combines data lines using the root mean square
Up: Routine Descriptions
Previous: CCG_ORVAR - Returns the variances and covariances of the order statistics from n to 1, assuming an initially normal distribution

KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
2011 April 12
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council