openmc.data.ArbitraryTabulated¶
-
class
openmc.data.
ArbitraryTabulated
(energy, pdf)[source]¶ Arbitrary tabulated function given in ENDF MF=5, LF=1 represented as
\[f(E \rightarrow E') = g(E \rightarrow E') \]Parameters: - energy (numpy.ndarray) – Array of incident neutron energies
- pdf (list of openmc.data.Tabulated1D) – Tabulated outgoing energy distribution probability density functions
Variables: - energy (numpy.ndarray) – Array of incident neutron energies
- pdf (list of openmc.data.Tabulated1D) – Tabulated outgoing energy distribution probability density functions
-
classmethod
from_endf
(file_obj, params)[source]¶ Generate arbitrary tabulated distribution from an ENDF evaluation
Parameters: - file_obj (file-like object) – ENDF file positioned at the start of a section for an energy distribution.
- params (list) – List of parameters at the start of the energy distribution that includes the LF value indicating what type of energy distribution is present.
Returns: Arbitrary tabulated distribution
Return type: