tightbinder.disorder.remove_atoms#

remove_atoms(system, indices)[source]#

Routine to remove atoms from the system motif (i.e. create vacancies) according to a list of indices provided.

Parameters:
  • indices (List[int]) – List with indices of those atoms we want to remove, following the same ordering as those atoms in the motif

  • system (System) – Crystal class or subclass derived from it (typically System).

Return type:

System

Returns:

Modified system.