AST_GETCELL

Identify the next cell in a normalised Moc

Description:

This function returns the order and " npix" value for the cell at a specified index in the normalised Moc. See the MOC recommendation for more information about " npix" values and MOC normalisation.

Invocation

CALL AST_GETCELL( THIS, ICELL, ORDER, NPIX, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Moc to be modified.
ICELL = INTEGER (Given)
The index of the cell for which information is required. The first cell has index one. An error will be reported if the supplied value is greater than the value of the MocLength attribute.
ORDER = INTEGER (Returned)
Returned holding the HEALPix order of the cell at the requested index.
NPIX = INTEGER8 (Returned)
Returned holding the " npix" value of the cell at the requested index.
STATUS = INTEGER (Given and Returned)
The global status.