IMP.algebra.get_transformation_aligning_first_to_second
Hi,
we just stumbled across the same problem Ben had last year:
get_transformation_aligning_first_to_second doesn't give the correct results. Can the resulting transformation be applied with get_transformed, like in the example?
Or does anybody have an idea how we could get the transformation between two point sets in a different way?
Thanks a lot!
Carsten & Pia
Date: Thu, 20 Oct 2011 10:29:14 +0200 From: Benjamin SCHWARZ schwarz.ben@gmail.com Reply-To: Help and discussion for users of IMP imp-users@salilab.org Subject: [IMP-users] does IMP.algebra.get_transformation_aligning_first_to_second minimize RMSD ? To: Help and discussion for users of IMP imp-users@salilab.org
Hi list,
Just confronted to something that looks like a bug, either in IMP or in my reading of the IMP manual. I'd expect the alignment of two sets of particles or vectors to minimize the RMD between the two sets, but in my case it appears the alignment produces a worse RMSD. See output underneath, and sample script attached.
Considering 30 3D vectors natural rmsd between v1 and v2: 209.651290894 aligning v1 on v2... with resulting rmsd 220.458206177 running IMP version kernel SVN 10177 with Boost.FileSystem
_______________________________________________ IMP-users mailing list IMP-users@salilab.org https://salilab.org/mailman/listinfo/imp-users
On 8/22/12 6:06 AM, unverdor@biochem.mpg.de wrote: > we just stumbled across the same problem Ben had last year: > > get_transformation_aligning_first_to_second doesn't give the correct > results. Can the resulting transformation be applied with > get_transformed, like in the example?
Sure. You can also check the test case in modules/algebra/test/test_geom_alignment.py. It's possible that in pathological cases it's unable to improve the RMSD though.
Ben
participants (2)
-
Ben Webb
-
unverdor@biochem.mpg.de