openmc.data.CorrelatedAngleEnergy

class openmc.data.CorrelatedAngleEnergy(breakpoints, interpolation, energy, energy_out, mu)[source]

Correlated angle-energy distribution

Parameters
  • breakpoints (Iterable of int) – Breakpoints defining interpolation regions

  • interpolation (Iterable of int) – Interpolation codes

  • energy (Iterable of float) – Incoming energies at which distributions exist

  • energy_out (Iterable of openmc.stats.Univariate) – Distribution of outgoing energies corresponding to each incoming energy

  • mu (Iterable of Iterable of openmc.stats.Univariate) – Distribution of scattering cosine for each incoming/outgoing energy

Variables
  • breakpoints (Iterable of int) – Breakpoints defining interpolation regions

  • interpolation (Iterable of int) – Interpolation codes

  • energy (Iterable of float) – Incoming energies at which distributions exist

  • energy_out (Iterable of openmc.stats.Univariate) – Distribution of outgoing energies corresponding to each incoming energy

  • mu (Iterable of Iterable of openmc.stats.Univariate) – Distribution of scattering cosine for each incoming/outgoing energy

classmethod from_ace(ace, idx, ldis)[source]

Generate correlated angle-energy distribution from ACE data

Parameters
  • ace (openmc.data.ace.Table) – ACE table to read from

  • idx (int) – Index in XSS array of the start of the energy distribution data (LDIS + LOCC - 1)

  • ldis (int) – Index in XSS array of the start of the energy distribution block (e.g. JXS[11])

Returns

Correlated angle-energy distribution

Return type

openmc.data.CorrelatedAngleEnergy

classmethod from_endf(file_obj)[source]

Generate correlated angle-energy distribution from an ENDF evaluation

Parameters

file_obj (file-like object) – ENDF file positioned at the start of a section for a correlated angle-energy distribution

Returns

Correlated angle-energy distribution

Return type

openmc.data.CorrelatedAngleEnergy

classmethod from_hdf5(group)[source]

Generate correlated angle-energy distribution from HDF5 data

Parameters

group (h5py.Group) – HDF5 group to read from

Returns

Correlated angle-energy distribution

Return type

openmc.data.CorrelatedAngleEnergy

to_hdf5(group)[source]

Write distribution to an HDF5 group

Parameters

group (h5py.Group) – HDF5 group to write to