openmc.stats.muir
- openmc.stats.muir(e0: float, m_rat: float, kt: float, bias: Univariate | None = None)[source]
Generate a Muir energy spectrum
The Muir energy spectrum is a normal distribution, but for convenience reasons allows the user to specify three parameters to define the distribution: the mean energy of particles
e0, the mass of reactantsm_rat, and the ion temperaturekt.Added in version 0.13.2.
- Parameters:
e0 (float) – Mean of the Muir distribution in [eV]
m_rat (float) – Ratio of the sum of the masses of the reaction inputs to 1 amu
kt (float) – Ion temperature for the Muir distribution in [eV]
bias (openmc.stats.Univariate, optional) – Distribution for biased sampling.
- Returns:
Corresponding normal distribution
- Return type: