Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Superposition functions


Functions

template<typename AtomIterator1, typename AtomIterator2> double BTK::get_rmsd (AtomIterator1 a1_first, AtomIterator1 a1_last, AtomIterator2 a2_first, AtomIterator2 a2_last)
 Calculate the rmsd of the least-squares superposition of two atom sets.

template<typename AtomIterator1, typename AtomIterator2> void BTK::leastsquares_superposition (AtomIterator1 fixed_first, AtomIterator1 fixed_last, AtomIterator2 superimpose_first, AtomIterator2 superimpose_last, BTKMatrix &R, BTKVector &T, double &rmsd)
 Calculate the transformation resulting in the least-squares superposition of two atom sets.

template<typename AtomIterator1, typename AtomIterator2, typename AtomIterator3> void BTK::leastsquares_superposition (AtomIterator1 fixed_first, AtomIterator1 fixed_last, AtomIterator2 superimpose_first, AtomIterator2 superimpose_last, AtomIterator3 transform_first, AtomIterator3 transform_last, double &rmsd)
 Apply the least-squares superposition of two atomsets to a third atomset.


Function Documentation

template<typename AtomIterator1, typename AtomIterator2>
double BTK::get_rmsd AtomIterator1  a1_first,
AtomIterator1  a1_last,
AtomIterator2  a2_first,
AtomIterator2  a2_last
 

Calculate the rmsd of the least-squares superposition of two atom sets.

Returns:
rmsd of the least squares superposition of two atomsets

Here is the call graph for this function:

template<typename AtomIterator1, typename AtomIterator2, typename AtomIterator3>
void BTK::leastsquares_superposition AtomIterator1  fixed_first,
AtomIterator1  fixed_last,
AtomIterator2  superimpose_first,
AtomIterator2  superimpose_last,
AtomIterator3  transform_first,
AtomIterator3  transform_last,
double &  rmsd
 

Apply the least-squares superposition of two atomsets to a third atomset.

Apply the least squares transformation of atomset 'superimpose' onto atomset 'fixed' to atomset 'transform', returns the expected rmsd between superimpose and fixed.

Here is the call graph for this function:

template<typename AtomIterator1, typename AtomIterator2>
void BTK::leastsquares_superposition AtomIterator1  fixed_first,
AtomIterator1  fixed_last,
AtomIterator2  superimpose_first,
AtomIterator2  superimpose_last,
BTKMatrix &  R,
BTKVector &  T,
double &  rmsd
 

Calculate the transformation resulting in the least-squares superposition of two atom sets.

Calculates the least-squares superposition of two sets of atoms by the method described in:

Kabsch, Acta Cryst. (1978). A34, 827-828

The transformation of the second atom set to the superimposed position can be recreated from the rotation matrix $R$ and the translation vector $T$ by $ x'_i = R x_i + T $

Parameters:
R superposition rotation matrix
T superposition translation vector
rmsd rmsd of least squares superposition

Here is the call graph for this function:


Generated on Wed Apr 14 00:43:19 2004 for BTK by doxygen 1.3.6