## Geometry.relabel_atoms()


Reorder the atoms.


Usage

``` python
Geometry.relabel_atoms(indices)
```


## Parameters


`indices: Sequence[int]`  
Permutation of `range(atom_count)` giving the new order, e.g. `[2, 0, 1]` moves atom 2 to position 0, atom 0 to position 1, and atom 1 to position 2.


## Returns


`Self`  
A reordered copy. Other fields, including those of subclasses, are

kept.


## Raises


`ValueError`  
If `indices` is not a permutation of `range(atom_count)`.
