| | |
- testC2(sel1, sel2, rmsdTol=0.01, transTol=0.01, rotTol=0.10000000000000001)
test for C2 Symmetry
First, subtract off center of mass of sel1 and sel2.
Swap atoms in sel1 and sel2 and rigid-body fit the result to the original.
The resulting atomic rmsd should be less than rmsdTol.
The norm of the translation should be less than transTol.
The resulting rotation matrix should be within rotTol of 180 degrees.
Atomic coordinates are not modified by this function.
If any tolerance is violated, a SymmetryViolation exception is thrown.
A SymmetryResults class is returned, containing:
rmsd, trans, rot, and rotVec (the rotation axis)
|