| AHELP for CIAO 4.2 | get_transform_matrix |
Context: py.crates |
Synopsis
Extract the transform matrix from a crate.
Syntax
get_transform_matrix(crate, name)
Description
- crate - input crate
- name - transform name
The get_transform_matrix command extracts the transform matrix for the given transform name from the input crate.
Example
>>> cr = read_file("evt2.fits")
>>> print get_transform_matrix(cr, "EQPOS")
[[ -1.36666667e-04 0.00000000e+00 0.00000000e+00]
[ 0.00000000e+00 1.36666667e-04 0.00000000e+00]
[ 2.59813868e+02 6.66356635e+01 1.00000000e+00]]The transform matrix from the crate "cr" is retrieved and printed to the screen.
Bugs
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)