openmc.UniverseFilter

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

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

Parameters
  • bins (openmc.UniverseBase, int, or iterable thereof) – The Universes to tally. Either openmc.UniverseBase objects or their Integral ID numbers can be used.

  • filter_id (int) – Unique identifier for the filter

Variables
  • bins (Iterable of Integral) – openmc.UniverseBase IDs.

  • id (int) – Unique identifier for the filter

  • num_bins (Integral) – The number of filter bins

expected_type

alias of UniverseBase