Reference XYZMolecule XYZMolecule.delete
XYZMolecule.delete
delete(index, inplace=False)
Delete INDEXED atoms in XYZMolecule.
Parameters:
-
index
(MolIndex
) –MolIndex can be a list of strings or integers or a single string or int that is either an atom number, species+species number (Molden style), or species.
-
inplace
(bool
, default:False
) –If True, perform operation in-place.
Returns:
-
XYZMolecule
–XYZMolecule object with selected atoms deleted.