sknano.core.atoms.IDAtoms.filtered_ids

IDAtoms.filtered_ids(atom_ids, invert=False)[source][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.