Next: CCG_FM1x - Combines data lines using a fast median
Up: Routine Descriptions
Previous: CCG_FLX1x - Combines data lines using the integrated value
CCG_FLX3x
- Combines data lines using the integrated value
- Description:
- This routine accepts an array consisting of a series of
(vectorised) lines of data. It forms the sum of the data values
multiplied by its pixel width lines are then summed, i.e a flux.
The output integrated values are returned in the array RESULT.
- Invocation:
- CALL CCG_FLX3x( NPIX, NLINES, STACK, WIDTHS, MINPIX, RESULT,
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.
-
WIDTHS( NPIX, NLINES ) = ? (Given)
-
The pixel widths in world co-ordinates.
-
MINPIX = INTEGER (Given)
-
The minimum number of pixels required to contribute to an
output pixel.
-
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.
-
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:
- There is a routine for each numeric data type: replace "x" in
the routine name by D or R as appropriate. The STACK and RESULT
arguments supplied to the routine must have the data type
specified.
Next: CCG_FM1x - Combines data lines using a fast median
Up: Routine Descriptions
Previous: CCG_FLX1x - Combines data lines using the integrated value
KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
9th March 2009
E-mail:ussc@star.rl.ac.uk
Copyright © 2010 Science and Technology Facilities Council