AtomicSystem.set_atom_position#
- AtomicSystem.set_atom_position(index, position)#
Modify the coordinates of a single atom using a vector (x, y, z).
- Parameters:
- indexint
The index of the atom to modify.
- positionSequence[float]
The new (x, y, z) coordinates.
- Returns:
- AtomicSystem
The modified system.