openmc.UniverseFilter

class openmc.UniverseFilter(bins, filter_id=None)[source]

Bins tally event locations based on the Universe they occured in.

Parameters:
  • bins (openmc.Universe, int, or iterable thereof) – The Universes to tally. Either openmc.Universe objects or their Integral ID numbers can be used.
  • filter_id (int) – Unique identifier for the filter
Variables:
  • bins (Iterable of Integral) – openmc.Universe IDs.
  • id (int) – Unique identifier for the filter
  • num_bins (Integral) – The number of filter bins
expected_type

alias of openmc.universe.Universe