openmc.data.ContinuousTabular¶
-
class
openmc.data.
ContinuousTabular
(breakpoints, interpolation, energy, energy_out)[source]¶ Continuous tabular 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
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
-
classmethod
from_ace
(ace, idx, ldis)[source]¶ Generate continuous tabular 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: Continuous tabular energy distribution
Return type:
-
classmethod
from_hdf5
(group)[source]¶ Generate continuous tabular distribution from HDF5 data
Parameters: group (h5py.Group) – HDF5 group to read from Returns: Continuous tabular energy distribution Return type: openmc.data.ContinuousTabular