openmc.data.combine_distributions

openmc.data.combine_distributions(dists: Sequence[Discrete | Tabular | Mixture], probs: Sequence[float])[source]

Combine distributions with specified probabilities

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

Added in version 0.13.1.

Parameters: