openmc.data.KalbachMann

class openmc.data.KalbachMann(breakpoints, interpolation, energy, energy_out, precompound, slope)[source]

Kalbach-Mann 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
  • precompound (Iterable of openmc.data.Tabulated1D) – Precompound factor ‘r’ as a function of outgoing energy for each incoming energy
  • slope (Iterable of openmc.data.Tabulated1D) – Kalbach-Chadwick angular distribution slope value ‘a’ as a function of outgoing energy for each incoming 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
  • precompound (Iterable of openmc.data.Tabulated1D) – Precompound factor ‘r’ as a function of outgoing energy for each incoming energy
  • slope (Iterable of openmc.data.Tabulated1D) – Kalbach-Chadwick angular distribution slope value ‘a’ as a function of outgoing energy for each incoming energy
classmethod from_ace(ace, idx, ldis)[source]

Generate Kalbach-Mann energy-angle 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:

Kalbach-Mann energy-angle distribution

Return type:

openmc.data.KalbachMann

classmethod from_endf(file_obj)[source]

Generate Kalbach-Mann distribution from an ENDF evaluation

Parameters:file_obj (file-like object) – ENDF file positioned at the start of the Kalbach-Mann distribution
Returns:Kalbach-Mann energy-angle distribution
Return type:openmc.data.KalbachMann
classmethod from_hdf5(group)[source]

Generate Kalbach-Mann distribution from HDF5 data

Parameters:group (h5py.Group) – HDF5 group to read from
Returns:Kalbach-Mann energy distribution
Return type:openmc.data.KalbachMann
to_hdf5(group)[source]

Write distribution to an HDF5 group

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