nraonrao
 
NRAO Home > CASA > CasaRef
coordsys.reorder - Function

1.1.3 Reorder the coordinates
Description

This function reorders the coordinates in the Coordinate System. You specify the new order of the coordinates in terms of their old order.

Arguments





Inputs

order

New coordinate order

allowed:

intArray

Default:

Returns
bool

Example

"""  
#  
print "\t----\t reorder Ex 1 \t----"  
csys = cs.newcoordsys(direction=T, spectral=T, linear=2)  
print csys.coordinatetype()  
#[’Direction’, ’Spectral’, ’Linear’]  
csys.reorder([1,2,0]);  
print csys.coordinatetype()  
#[’Spectral’, ’Linear’, ’Direction’]  
#  
"""

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.