sknano.core.atoms.StructureAtoms.filtered_ids

StructureAtoms.filtered_ids(atom_ids, invert=False)[source]

Return new Atoms filtered by IDAtoms.ids in atom_ids.

New in version 0.3.11.

Parameters:

atom_ids : array_like

invert : bool, optional

Returns:

filtered_atoms : Atoms

An instance of Atoms (sub)class.