KPG1_AXEXx

Calculates the extent of an NDF along an axis

Description:

This routine calculates the starting and ending positions of an NDF s pixels along an axis, optionally taking account of the axis width and error values.

Invocation

CALL KPG1_AXEXx( EL, CENTRE, USEERR, ERROR, USEWID, WIDTH, NSIGMA, ASTART, AEND, STATUS )

Arguments

EL = INTEGER (Given)
The number of elements in the axis arrays.
CENTRE( EL ) = ? (Given)
The centres of the pixels on the axis.
USEERR = LOGICAL (Given)
Use the error array and NSIGMA in the calculation of the extent of the axis.
ERROR( EL ) = ? (Given)
The errors of the pixel centres on the axis. It is only required (accessed) when USEERR = .TRUE..
USEWID = LOGICAL (Given)
Use the width array in the calculation of the extent of the axis.
WIDTH( EL ) = ? (Given)
The widths of the pixels on the axis.
NSIGMA = ? (Given)
Number of multiples of the error to use in the calculation
ASTART = ? (Returned)
If the axis centre positions increase with NDF pixel index, this argument returns the axis position of the edge of the first pixel which has the lower co-ordinate. Otherwise it returns the axis position of the edge with the higher co-ordinate.
AEND = ? (Returned)
If the axis centre positions increase with NDF pixel index, this argument returns the axis position of the edge of the last pixel which has the higher co-ordinate. Otherwise it returns the axis position of the edge with the lower co-ordinate.
STATUS = INTEGER (Given and Returned)
The global status.