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.id - Function Up: coordsys - Tool Previous: coordsys.frequencytovelocity - Function


coordsys.fromrecord - Function



Package general
Module images
Tool coordsys


Fill Coordinate System from a record


Synopsis
fromrecord(record)


Arguments

record in Record containing Coordinate System
    Allowed: Glish record


Returns
T or fail


Description

You can convert a Coordinate System to a record (torecord). This function (fromrecord) allows you to set the contents of an existing Coordinate System from such a record. In doing so, you overwrite its current contents.

These functions are not for general user use.



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





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