1.1.3 Fill Coordinate System from a record
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.
Arguments
| Inputs |
| ||
| record |
| Record containing Coordinate System
| |
| allowed: | any |
|
| Default: | record |
|
Example
"""
# print "\t----\t fromrecord Ex 1 \t----" csys = cs.newcoordsys(direction=T, stokes="I Q") print csys.ncoordinates() #2 r = csys.torecord() cs2 = cs.newcoordsys() print cs2.ncoordinates() #0 cs2.fromrecord(r) print cs2.ncoordinates() #2 # """ |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.