xnn.krnn.common.permutations.find_permutations#
- xnn.krnn.common.permutations.find_permutations(positions, atomic_numbers, cell=None, max_size=100)[source]#
The permutational symmetry group of a molecule, from its geometries.
- Parameters:
positions (array_like) –
(M, N, 3)geometries (the training set).atomic_numbers (array_like) –
(N,)elements.cell (array_like, optional) –
(3, 3)periodic cell, rows as vectors.max_size (int, optional) – Largest group accepted; above it, the group of the permutations whose cycles are not shadowed by longer ones is used, and the identity alone when that group is too large as well. By default 100.
- Returns:
(Q, N)permutations, the identity among them.- Return type:
ndarray