Next: CCG_WMD2x - Estimates the mean of a number of normally distributed data values, some of which may be corrupt
Up: Routine Descriptions
Previous: CCG_UM3x - Combines data lines using an unweighted mean
CCG_WCWIx
- Creates a channel-width array from the channel co-ordinates
- Description:
- This routine accepts an array consisting of a series of
(vectorised) lines of co-ordinates. For each pixel the
subroutine forms a channel width by halving the difference
of neighbouring co-ordinates along a line of data, i.e.
it assumes that therre are no gaps. The widths for first and
last pixels are the difference with its interior neighbour.
- Invocation:
- CALL CCG_WCWIx( NPIX, NLINES, COORDS, WIDTHS, 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.
-
COORDS( NPIX, NLINES ) = ? (Given)
-
The world co-ordinates.
-
WIDTHS( NPIX, NLINES ) = ? (Given)
-
The chanel widths.
-
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 COORDS and WIDTHS
arguments supplied to the routine must have the data type
specified.
Next: CCG_WMD2x - Estimates the mean of a number of normally distributed data values, some of which may be corrupt
Up: Routine Descriptions
Previous: CCG_UM3x - Combines data lines using an unweighted mean
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