| pyviblib.calc.qtrfit | index /usr/lib/python2.4/site-packages/pyviblib/calc/qtrfit.py |
Superimpose molecules using a quaternion fit.
This is a Python port of the QTRFIT algorithm written by David J. Heisterberg.
Copyright: Ohio Supercomputer Center, David J. Heisterberg, 1990.
See http://www.ccl.net/cca/software/SOURCES/C/quaternion-mol-fit/quatfit.c.
There is, however, a subtle difference between this implementation and the
original one. It lies in a way how the center of a molecule is calculated. We
use the plain weighting coefficients rather than square roots from them. This
corresponds to physically meaningful results.
The module exports the only function :
fit() -- perform a quaternion fit
| Functions | ||
| ||
| Data | ||
| __all__ = ['fit'] __author__ = 'Maxim Fedorovsky' | ||
| Author | ||
| Maxim Fedorovsky | ||