Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | coordsys |
type | in | Which coordinate type ? | |
Allowed: | String from "direction", "stokes", "spectral", "linear", "tabular" | ||
Default: | All | ||
value | in | Linear transform | |
Allowed: | Array of double |
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.
- 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]