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.copy - Function Up: coordsys - Tool Previous: coordsys.convertmany - Function


coordsys.coordinatetype - Function



Package general
Module images
Tool coordsys


Return type of specified coordinate


Synopsis
coordinatetype(which)


Arguments

which in Which coordinate ?
    Allowed: 1-rel integer or unset
    Default: All



Returns
String or fail


Description

This function (short-hand name ct) returns a string describing the type of the specified coordinate. If which=unset the types for all coordinates are returned.

Possible output values are 'Direction', 'Spectral', 'Stokes', 'Linear', and 'Tabular'



Example
- cs := coordsys(direction=T, spectral=T)
- cs.coordinatetype(1)
Direction
- cs.coordinatetype()
Direction Spectral





next up previous contents index
Next: coordsys.copy - Function Up: coordsys - Tool Previous: coordsys.convertmany - 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