Intersection¶
- class hoomd.filter.Intersection(f, g)¶
Set intersection operation.
- Parameters:
f (ParticleFilter) – First set in the intersection.
g (ParticleFilter) – Second set in the intersection.
Intersection
is a composite filter. It selects particles in the set intersection \(f \cap g\).Example:
intersection = hoomd.filter.Intersection(filter1, filter2)
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...