-> array([[ -0.31727375, -0.30378517, -0.8983607 , 27.04037902],
[ -0.31084291, 0.92828353, -0.20412344, 2.9200737 ],
[ 0.89594311, 0.21448605, -0.38894946, -10.81923792]])
Tom
Hi Maik,
I don't know of a non-cumbersome way. If you are adept at Python programming, the function that the match command calls is Midas.match(), defined in that module's __init__.py file, and you could lift the code that does the match and computes the matrix from there. The Midas module is found in <your Chimera installation>/share/Midas on Windows/Linux and in Chimera.app/Contents/Resources/share/Midas on Mac.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
Hi there,
I'm trying to superimpose two models from inside a python script and get back the transformation matrix. I know I can do something like
chimera.runCommand("match #1 #0 showMatrix true")
but then the matrix is written to the ReplyLog. (Of course I could save the ReplyLog and then read it in from my script to access the matrix, but that seems quite cumbersome.) Is there a better way to do this?
Cheers,
Maik
_______________________________________________Chimera-users mailing list: Chimera-users@cgl.ucsf.eduManage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________
Chimera-users mailing list:
Chimera-users@cgl.ucsf.eduManage subscription:
https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users