Abstract superclass for all energy distributions.

static from_endf(file_obj, params)[source]

Generate energy distribution from an ENDF evaluation

  • 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.

A sub-class of

Return type:

static from_hdf5(group)[source]

Generate energy distribution from HDF5 data

Parameters:group (h5py.Group) – HDF5 group to read from
Returns:Energy distribution