Can I read and modify a transform matrix with python

can I read and modify a transform matrix with python directly(not the GUI of transform) in slicer.
for example:
Read
display (transformMatrix)
I will get a 4*4matrix:
[ [ 1 0 0 52.64097]
[ 0 1 0 -46.12696]
[ 0 0 1 -0.48185]
[ 0. 0. 0. 1. ]]

Modify
transformMatrix=np.array[
[ 0.92979 -0.26946 -0.25075 52.64097]
[ 0.03835 0.74845 -0.66209 -46.12696]
[ 0.36608 0.60599 0.70623 -0.48185]
[ 0. 0. 0. 1. ]]

See example of setting a transform from a numpy array here: https://www.slicer.org/wiki/Documentation/Nightly/Modules/Transforms#Examples