sknano.core.atoms.MDAtoms.filter_ids

MDAtoms.filter_ids(atom_ids, invert=False)[source]

Filter Atoms by IDAtoms.ids in atom_ids.

Changed in version 0.3.11: Filters Atoms in-place. Use filtered_ids to get a new list of Atoms.

Parameters:

atom_ids : array_like

invert : bool, optional