# openmc.stats.Monodirectional¶

class openmc.stats.Monodirectional(reference_uvw=[1.0, 0.0, 0.0])[source]

Monodirectional angular distribution.

A monodirectional angular distribution is one for which the polar and azimuthal angles are always the same. It is completely specified by the reference direction vector.

Parameters: reference_uvw (Iterable of float) – Direction from which polar angle is measured. Defaults to the positive x-direction.
classmethod from_xml_element(elem)[source]

Generate monodirectional distribution from an XML element

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

Return XML representation of the monodirectional distribution

Returns: element – XML element containing monodirectional distribution data xml.etree.ElementTree.Element