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.torel - Function Up: coordsys - Tool Previous: coordsys.topixelmany - Function


coordsys.torecord - Function



Package general
Module images
Tool coordsys


Convert Coordinate System to a record


Synopsis
torecord()


Returns
Glish record or fail


Description

You can convert a Coordinate System to a record with this function. There is also fromrecord to set a Coordinate System from a record.

These functions are not for general user use; they are used for sending Coordsys tools about the Glish bus.



Example
- cs := coordsys(direction=T, stokes="I Q")
- rec := cs.torecord();
- cs2 := coordsys();
- cs2.fromrecord(rec);
-
- print cs.ncoordinates(), cs2.ncoordinates()
2 2





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