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.setnames - Function Up: coordsys - Tool Previous: coordsys.setincrement - Function


coordsys.setlineartransform - Function



Package general
Module images
Tool coordsys


Set the linear transform


Synopsis
setlineartransform(type, value)


Arguments

type in Which coordinate type ?
    Allowed: String from "direction", "stokes", "spectral", "linear", "tabular"
    Default: All
value in Linear transform
    Allowed: Array of double


Returns
T or fail



Description

This function set the linear transform component. For Stokes Coordinates this function will return T but do nothing.

You can recover the current linear transform with function lineartransform.



Example
- cs := coordsys(spectral=T, linear=3)
- xf := cs.lineartransform('lin')
- xf
[[1:3,]
    1 0 0
    0 1 0
    0 0 1]
- xf[1,2] := 0.01
- cs.slt(xf,'lin')
- cs.lt('lin')
[[1:3,]
    1 0.01 0
    0 1    0
    0 0    1]





next up previous contents index
Next: coordsys.setnames - Function Up: coordsys - Tool Previous: coordsys.setincrement - 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