pele.angleaxis.aamindist#

class pele.angleaxis.aamindist.TransformAngleAxisCluster[source]

Source

class TransformAngleAxisCluster(TransformPolicy):

transformation rules for angle axis clusters

TransformAngleAxisCluster.translate()[source]

Source

def translate(self, X, d):

apply a translation

TransformAngleAxisCluster.rotate()[source]

Source

def rotate(self, X, mx):

rotate the com + angle-axis position X by the rotation matrix mx

TransformAngleAxisCluster.invert()[source]

Source

def invert(self, X):

invert the structure

TransformAngleAxisCluster.permute()[source]

Source

def permute(self, X, perm):

apply a permutation

Parameters:
Xnp array

The configuration

permlist of integers

a list of integers giving the new order of the molecules. The length of perm must be the number of rigid bodies.

class pele.angleaxis.aamindist.MeasureAngleAxisCluster[source]

Source

class MeasureAngleAxisCluster(MeasurePolicy):

measure rules for angle axis clusters

MeasureAngleAxisCluster.get_com()[source]

Source

def get_com(self, X):

return the center of mass

MeasureAngleAxisCluster.align()[source]

Source

def align(self, coords1, coords2):

align the rotations so that the atomistic coordinates will be in best alignment

MeasureAngleAxisCluster.get_dist()[source]

Source

def get_dist(self, x1, x2):

compute the distance between two configurations

MeasureAngleAxisCluster.find_permutation()[source]

Source

def find_permutation(self, X1, X2):

find the rotation which minimizes the distance between the structures

MeasureAngleAxisCluster.find_rotation()[source]

Source

def find_rotation(self, X1, X2):

find the rotation which minimizes the distance between the structures

class pele.angleaxis.aamindist.MeasureRigidBodyCluster[source]

Source

class MeasureRigidBodyCluster(MeasureAngleAxisCluster):

perform measurements on clusters of rigid bodies

class pele.angleaxis.aamindist.ExactMatchAACluster[source]

Source

class ExactMatchAACluster(ExactMatchCluster):

test whether two structure are exactly the same

class pele.angleaxis.aamindist.MinPermDistAACluster[source]

Source

class MinPermDistAACluster(MinPermDistCluster):

minimize the distance between two structures