pele.angleaxis.aamindist#
- class pele.angleaxis.aamindist.TransformAngleAxisCluster[source]
-
class TransformAngleAxisCluster(TransformPolicy):transformation rules for angle axis clusters
- TransformAngleAxisCluster.rotate()[source]
-
def rotate(self, X, mx):rotate the com + angle-axis position X by the rotation matrix mx
- TransformAngleAxisCluster.permute()[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]
-
class MeasureAngleAxisCluster(MeasurePolicy):measure rules for angle axis clusters
- MeasureAngleAxisCluster.align()[source]
-
def align(self, coords1, coords2):align the rotations so that the atomistic coordinates will be in best alignment
- MeasureAngleAxisCluster.get_dist()[source]
-
def get_dist(self, x1, x2):compute the distance between two configurations
- MeasureAngleAxisCluster.find_permutation()[source]
-
def find_permutation(self, X1, X2):find the rotation which minimizes the distance between the structures
- MeasureAngleAxisCluster.find_rotation()[source]
-
def find_rotation(self, X1, X2):find the rotation which minimizes the distance between the structures
- class pele.angleaxis.aamindist.MeasureRigidBodyCluster[source]
-
class MeasureRigidBodyCluster(MeasureAngleAxisCluster):perform measurements on clusters of rigid bodies
- class pele.angleaxis.aamindist.ExactMatchAACluster[source]
-
class ExactMatchAACluster(ExactMatchCluster):test whether two structure are exactly the same