nraonrao
 
NRAO Home > CASA > CasaRef
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:

Returns
anyvariant

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

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.