structuretoolkit.common.helper.get_structure_indices

structuretoolkit.common.helper.get_structure_indices#

structuretoolkit.common.helper.get_structure_indices(structure: Atoms) ndarray[source]#

Get the indices of the elements in the structure.

Parameters:

structure (ase.atoms.Atoms) – The atomic structure.

Returns:

The indices of the elements in the structure.

Return type:

numpy.ndarray