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

1.1.3 Recover the Stokes types


Description

If the Coordinate System contains a Stokes Coordinate, this function recovers the Stokes types defining it. If there is no Stokes Coordinate, an exception is generated.

You can set the Stokes types with function setstokes.

Arguments





Returns
stringArray

Example

 
 
"""  
#  
print "\t----\t stokes Ex 1 \t----"  
csys = cs.newcoordsys(stokes=[’I’,’V’])  
print csys.stokes()  
#[’I’, ’V’]  
csys = cs.newcoordsys(stokes=’Q U’)  
print csys.stokes()  
#[’Q’, ’U’]  
#  
"""  
 

__________________________________________________________________


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