openmc.WeightFilter
- class openmc.WeightFilter(values, filter_id=None)[source]
Bins tally events based on the incoming particle weight.
- Parameters:
- Variables:
id (int) – Unique identifier for the filter
bins (numpy.ndarray) – An array of integer values representing the weights by which to filter
num_bins (int) – The number of filter bins
values (numpy.ndarray) – Array of weight boundaries