Type

class hoomd.filter.Type(types)

Bases: ParticleFilter

Select particles by type.

Parameters:

types (list[str]) – List of particle type names to select.

Base: ParticleFilter

Example:

type_A_B = hoomd.filter.Type(["A", "B"])

Members inherited from ParticleFilter:

__hash__()

Return a hash of the filter parameters. Read more...

__eq__()

Test for equality between two particle filters. Read more...

__str__()

Format a human readable string describing the filter. Read more...

__call__()

Evaluate the filter. Read more...


Members defined in Type:

property types

List of particle type names to select.

Type:

list[str]