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