openmc.data.combine_distributions
- openmc.data.combine_distributions(dists: Sequence[Univariate], probs: Sequence[float])[source]
Combine distributions with specified probabilities
This function can be used to combine multiple instances of
Discreteand ~openmc.stats.Tabular. Multiple discrete distributions are merged into a single distribution and the remainder of the distributions are put into aMixturedistribution.Added in version 0.13.1.
- Parameters:
dists (iterable of openmc.stats.Univariate) – Distributions to combine
probs (iterable of float) – Probability (or intensity) of each distribution