Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: coordsys.ncoordinates - Function Up: coordsys - Tool Previous: coordsys.names - Function


coordsys.naxes - Function



Package general
Module images
Tool coordsys


Recover the number of axes


Synopsis
naxes(world)


Arguments

world in Find number of world or pixel axes ?
    Allowed: T or F
    Default: T



Returns
Int or fail



Description

Find the number of axes in the Coordinate System.

You may find the number of world or pixel axes; these are generally the same and general users can ignore the distinction. See the discussion about pixel and world axis ordering.



Example
- cs := coordsys(direction=T, spectral=T)
- n := cs.naxes(T)
3                          # 2 direction axes, 1 spectral
- n := cs.naxes(F)
3





next up previous contents index
Next: coordsys.ncoordinates - Function Up: coordsys - Tool Previous: coordsys.names - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01