openmc.data.AngleDistribution¶
- class openmc.data.AngleDistribution(energy, mu)[source]¶
Angle distribution as a function of incoming energy
- Parameters
energy (Iterable of float) – Incoming energies in eV at which distributions exist
mu (Iterable of openmc.stats.Univariate) – Distribution of scattering cosines corresponding to each incoming energy
- Variables
energy (Iterable of float) – Incoming energies in eV at which distributions exist
mu (Iterable of openmc.stats.Univariate) – Distribution of scattering cosines corresponding to each incoming energy
- classmethod from_ace(ace, location_dist, location_start)[source]¶
Generate an angular distribution from ACE data
- Parameters
ace (openmc.data.ace.Table) – ACE table to read from
location_dist (int) – Index in the XSS array corresponding to the start of a block, e.g. JXS(9).
location_start (int) – Index in the XSS array corresponding to the start of an angle distribution array
- Returns
Angular distribution
- Return type
- classmethod from_endf(ev, mt)[source]¶
Generate an angular distribution from an ENDF evaluation
- Parameters
ev (openmc.data.endf.Evaluation) – ENDF evaluation
mt (int) – The MT value of the reaction to get angular distributions for
- Returns
Angular distribution
- Return type