NRAO Home > CASA > CASA Toolkit Reference Manual
coordsys.ncoordinates - Function

1.1.3 Recover the number of coordinates in the Coordinate System


Description

This function recovers the number of coordinates in the Coordinate System.

Arguments





Returns
int

Example

 
 
"""  
#  
print "\t----\t ncoordinates Ex 1 \t----"  
csys = cs.newcoordsys(direction=True, spectral=True)  
print csys.ncoordinates()  
#2  
cs2 = cs.newcoordsys(linear=4)  
print cs2.ncoordinates()  
#1  
#  
"""  
 

__________________________________________________________________


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