Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: coordsys.names - Function Up: coordsys - Tool Previous: coordsys.increment - Function


coordsys.lineartransform - Function



Package general
Module images
Tool coordsys


Recover the linear transform matrix


Synopsis
lineartransform(type)


Arguments

type in Coordinate type
    Allowed: String from "direction", "stokes", "spectral", "linear", "tabular"


Returns
Vector of double or fail



Description

Recover the linear transform component for the specified coordinate type.

You can set the linear transform with function setlineartransform.



Example
- cs := coordsys(direction=T, linear=3)
- cs.lineartransform('dir')                  # 2 x 2
[[1:2,]
    1 0
    0 1]
- cs.lineartransform('lin')                  # 3 x 3
[[1:3,]
    1 0 0
    0 1 0
    0 0 1]





next up previous contents index
Next: coordsys.names - Function Up: coordsys - Tool Previous: coordsys.increment - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01