- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine sets each pixel in an n-dimensional array to its grid co-ordinate.
Invocation
CALL
KPG1_FIGRx( NDIMS, DIMS, EL, ARRAY, STATUS )
Arguments
NDIM = INTEGER (Given)
Number of array dimensions.
DIMS( NDIM ) = INTEGER (Given)
Array of dimension
sizes for each array dimension.
EL = INTEGER (Given)
First dimension of the array of
grid co-ordinates. It must be at least the total number of elements, i.e. the product of the
DIMS dimensions.
ARRAY( EL, NDIM ) = ? (Returned)
The array containing the grid
co-ordinates of each element given by the supplied dimensions. The values are stored
such that the first co-ordinate for all pixels is then followed by second co-ordinate for all
pixels and so on.
STATUS = INTEGER (Given & Returned)
Global status value
Notes:
-
There is a routine for double precision, real, and integer: replace "
x"
in the routine name by D, R, or I
as appropriate. The ARRAY argument must have the data type specified.
-
The maximum number of dimensions which can be handled by this routine is equal to the symbolic
constant NDF__MXDIM.
-
The ordering of the ARRAY elements is counterintuitive, but that’
s what AST_TRANN uses.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑