openmc.stats.Isotropic

class openmc.stats.Isotropic(bias: PolarAzimuthal | None = None)[source]

Isotropic angular distribution.

Parameters:

bias (openmc.stats.PolarAzimuthal, optional) – Distribution for biased sampling.

Variables:

bias (openmc.stats.PolarAzimuthal or None) – Distribution for biased sampling

classmethod from_xml_element(elem: Element)[source]

Generate isotropic distribution from an XML element

Parameters:

elem (lxml.etree._Element) – XML element

Returns:

Isotropic distribution generated from XML element

Return type:

openmc.stats.Isotropic

to_xml_element()[source]

Return XML representation of the isotropic distribution

Returns:

element – XML element containing isotropic distribution data

Return type:

lxml.etree._Element