openmc.CollisionFilter
- class openmc.CollisionFilter(bins, filter_id=None)[source]
Bins tally events based on the number of collisions.
Added in version 0.12.2.
- Parameters:
- Variables:
id (int) – Unique identifier for the filter
bins (numpy.ndarray) – An array of integer values representing the number of collisions events by which to filter
num_bins (int) – The number of filter bins