24#if !defined(ALIGNMENT_HPP)
28#include <boost/tuple/tuple.hpp>
30#include <loos_defs.hpp>
31#include <MatrixImpl.hpp>
32#include <MatrixOps.hpp>
42 typedef std::vector<double> vecDouble;
43 typedef std::vector<vecDouble> vecMatrix;
44 typedef boost::tuple<vecDouble, vecDouble, vecDouble> SVDTupleVec;
47 SVDTupleVec kabschCore(
const vecDouble& u,
const vecDouble& v);
48 GCoord centerAtOrigin(vecDouble& v);
49 double alignedRMSD(
const vecDouble& U,
const vecDouble& V);
50 double centeredRMSD(
const vecDouble& U,
const vecDouble& V);
51 GMatrix kabsch(
const vecDouble& U,
const vecDouble& V);
52 void applyTransform(
const GMatrix& M, vecDouble& v);
53 vecDouble averageCoords(
const vecMatrix& ensemble);
54 double rmsd(
const vecDouble& u,
const vecDouble& v);
60 boost::tuple<std::vector<XForm>,greal,
int>
iterativeAlignment(alignment::vecMatrix& ensemble,
64 boost::tuple<std::vector<XForm>,greal,
int>
iterativeAlignment(std::vector<AtomicGroup>& ensemble,
78 boost::tuple<std::vector<XForm>,greal,
int>
iterativeAlignment(
const AtomicGroup& model,
80 const std::vector<uint>& frame_indices,
85 boost::tuple<std::vector<XForm>,greal,
int>
iterativeAlignment(
const AtomicGroup& model,
iterativeAlignment(ensemble, threshold=1e-8, maxiter=1000)
Iteratively align a loos.pyloos.Trajectory object (or a list of AtomicGroups)
Definition alignment.py:12
Namespace for most things not already encapsulated within a class.
Definition version.cpp:3