sknano.core.molecules.Molecules.filter

Molecules.filter(condition, invert=False)[source][source]

Filter Molecules by condition.

Parameters:

condition : array_like, bool

invert : bool, optional

Returns:

filtered_molecules : Molecules