pele.mindist.TransformPolicy#
- class pele.mindist.TransformPolicy[source]#
interface for possible transformations on a set of coordinates
The transform policy tells minpermdist how to perform transformations, i.e. a translation, rotation and inversion on a specific set of coordinates. This class is necessary since in general a coordinate array does not carry any information on the type of coordinate, e.g. if it’s a site coordinate, atom coordinate or angle axis vector.
All transformation act in place, that means they change the current coordinates and do not make a copy.
Methods
returns True or False if an inversion can be performed |
|
|
perform an inversion at the origin |
|
returns the permuted coordinates |
|
apply rotation matrix mx for a rotation around the origin |
|
translate the coordinates |
Attributes