KPG1_WCFAX

Obtains the co-ordinate of an axis in the current WCS Frame at every pixel centre in an NDF

Description:

This routine returns the world co-ordinate along a nominated WCS axis for each pixel centre of an NDF. The co-ordinates are defined within the current Frame in the supplied FrameSet. It is assumed that the nominated axis is independent of the other axes.

Invocation

CALL KPG1_WCFAX( LBND, UBND, MAP, JAXIS, IAXIS, CENTRE, WORK, STATUS )

Arguments

LBND( ) = INTEGER (Given)
The lower pixel index bounds of the NDF. This array should have one element for each NDF pixel axis.
UBND( ) = INTEGER (Given)
The upper pixel index bounds of the NDF. This array should have one element for each NDF pixel axis.
MAP = INTEGER (Given)
Mapping from PIXEL coords in the NDF to current WCS coords.
JAXIS = INTEGER (Given)
The number of the pixel axis which is varied.
IAXIS = INTEGER (Given)
The number of the WCS axis whose values are returned.
CENTRE( ) = DOUBLE PRECISION (Returned)
The current-Frame co-ordinate along the nominated axis at each pixel centre. The size and shape of this array should be the same as the NDF.
WORK( ) = DOUBLE PRECISION (Returned)
A work array with the same length as the requested pixel axis.
STATUS = INTEGER (Given and Returned)
The global status.