# openmc.stats.Muir¶

class openmc.stats.Muir(e0=14080000.0, m_rat=5.0, kt=20000.0)[source]

Muir energy spectrum.

The Muir energy spectrum is a Gaussian spectrum, but for convenience reasons allows the user 3 parameters to define the distribution, e0 the mean energy of particles, the mass of reactants m_rat, and the ion temperature kt.

Parameters: e0 (float) – Mean of the Muir distribution in units of eV m_rat (float) – Ratio of the sum of the masses of the reaction inputs to an AMU kt (float) – Ion temperature for the Muir distribution in units of eV e0 (float) – Mean of the Muir distribution in units of eV m_rat (float) – Ratio of the sum of the masses of the reaction inputs to an AMU kt (float) – Ion temperature for the Muir distribution in units of eV
classmethod from_xml_element(elem)[source]

Generate Muir distribution from an XML element

Parameters: elem (xml.etree.ElementTree.Element) – XML element Muir distribution generated from XML element openmc.stats.Muir
to_xml_element(element_name)[source]

Return XML representation of the Watt distribution

Parameters: element_name (str) – XML element name element – XML element containing Watt distribution data xml.etree.ElementTree.Element