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’]  
#  
"""

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.