|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
coordsys.setstokes - Function
1.1.3 Set the Stokes types
Description
If the Coordinate System contains a Stokes Coordinate, this function allows
you to change the Stokes types defining it. If there is no Stokes Coordinate, an
exception is generated.
See the coordsys constructor to see the possible Stokes types you can set.
You can set the Stokes types with function setstokes.
Arguments
Inputs |
| ||
stokes |
| Stokes types
| |
| allowed: | stringArray |
|
| Default: |
|
|
bool
Example
"""
#
print "\t----\t setstokes Ex 1 \t----"
csys = cs.newcoordsys(stokes="I V")
print csys.stokes()
#[’I’, ’V’]
csys.setstokes("XX RL")
print csys.stokes()
#[’XX’, ’RL’]
#
"""
__________________________________________________________________
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