|
|
|||
| NRAO Home > CASA > CASA Toolkit Reference Manual |
|
||
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: |
|
|
bool
Example
"""
#
print "\t----\t reorder Ex 1 \t----"
csys = cs.newcoordsys(direction=True, spectral=True, linear=2)
print csys.coordinatetype()
#[’Direction’, ’Spectral’, ’Linear’]
csys.reorder([1,2,0]);
print csys.coordinatetype()
#[’Spectral’, ’Linear’, ’Direction’]
#
"""
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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