Sequence[Univariate], probs: Sequence[float])[source]

Combine distributions with specified probabilities

This function can be used to combine multiple instances of Discrete and ~openmc.stats.Tabular. Multiple discrete distributions are merged into a single distribution and the remainder of the distributions are put into a Mixture distribution.

New in version 0.13.1.

  • dists (iterable of openmc.stats.Univariate) – Distributions to combine

  • probs (iterable of float) – Probability (or intensity) of each distribution