pele.mindist.MeasurePolicy#

class pele.mindist.MeasurePolicy[source]#

interface for possible measurements on a set of coordinates

The MeasurePolicy defines an interface which defines how to perform certain measures which are essential for minpermdist on a set of coordinates. For more motivation of this class see TransformPolicy.

Methods

find_permutation(X1, X2)

find the best permutation between 2 sets of coordinates

find_rotation(X1, X2)

find the best rotation matrix to bring structure 2 on 1

get_com(X)

calculate the center of mass

get_dist(X1, X2[, with_vector])

calculate the distance between 2 set of coordinates

Attributes