next up previous 278
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:



next up previous 278
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