|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
coordsys.lineartransform - Function
1.1.3 Recover the linear transform matrix
Description
Recover the linear transform component for the specified coordinate type.
You can set the linear transform with function setlineartransform.
Arguments
Inputs |
| ||
type |
| Coordinate type: ”direction”, ”stokes”, ”spectral”,
”linear”, ”tabular”
| |
| allowed: | string |
|
| Default: |
|
|
variant
Example
"""
#
print "\t----\t lineartransform Ex 1 \t----"
csys=cs.newcoordsys(direction=T,linear=3)
csys.lineartransform(’dir’) # 2 x 2
# [(1.0, 0.0), (0.0, 1.0)]
csys.lineartransform(’lin’) # 3 x 3
# [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)]
#
"""
__________________________________________________________________
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