openmc.EnergyoutFilter

class openmc.EnergyoutFilter(values, filter_id=None)[source]

Bins tally events based on outgoing particle energy.

Parameters
  • values (Iterable of Real) – A list of values for which each successive pair constitutes a range of energies in [eV] for a single bin

  • filter_id (int) – Unique identifier for the filter

Variables
  • values (numpy.ndarray) – An array of values for which each successive pair constitutes a range of energies in [eV] for a single bin

  • id (int) – Unique identifier for the filter

  • bins (numpy.ndarray) – An array of shape (N, 2) where each row is a pair of energies in [eV] for a single filter bin

  • num_bins (int) – The number of filter bins