You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dstoeckel edited this page Mar 16, 2015
·
2 revisions
How can I minimize the RMSD of two Systems?
This can be done with BALL's StructureMapper
First, map the two systems onto each other can be done using the StructureMapper.
After successful mapping, the RMSD can be easily computed calling its function calculateRMSD().
# get the first and the second system of BALLViewa=getSystems()[0]
b=getSystems()[1]
# map both systemssm=StructureMapper(a, b)
# print the previous RMSDprint"Pre-Match RMSD: ", sm.calculateRMSD()
# compute the RMSD of the mapped systemsrmsd=RMSDMinimizer.minimizeRMSD(a, b)
# trigger BALLView to update its scenegetMainControl().updateRepresentationsOf(b)
# and print the mapped RMSDprint"Matched RMSD:", rmsd