openmc.data.EnergyDistribution
- class openmc.data.EnergyDistribution[source]
Abstract superclass for all energy distributions.
- static from_endf(file_obj, params)[source]
Generate energy 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:
A sub-class of
openmc.data.EnergyDistribution- Return type: