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, za_emitted, za_target, projectile_mass)[source]

Generate Kalbach-Mann distribution from an ENDF evaluation.

If the projectile is a neutron, the slope is calculated when it is not given explicitly.

Changed in version 0.13.1: Arguments changed to accommodate slope calculation

Parameters
  • file_obj (file-like object) – ENDF file positioned at the start of the Kalbach-Mann distribution

  • za_emitted (int) – ZA identifier of the emitted particle

  • za_target (int) – ZA identifier of the target

  • projectile_mass (float) – Mass of the projectile

Warns

UserWarning – If the mass of the projectile is not equal to 1 (other than a neutron), the slope is not calculated and set to 0 if missing.

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