pele.angleaxis.TransformAngleAxisCluster.permute#

TransformAngleAxisCluster.permute(X, perm)[source]#

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.