radtools.Crystal.remove_atom#

method

Crystal.remove_atom(atom: Atom | str)[source]#

Remove atom from the crystal.

If type(atom) == str, then all atoms with the name atom are removed.

Parameters:
atomAtom or str

:py:class`.Atom` object or atom`s name. If name, then it has to be unique among atoms of the crystal.