openmc.data.ThermalScatteringReaction¶
- class openmc.data.ThermalScatteringReaction(xs, distribution)[source]¶
Thermal scattering reaction
This class is used to hold the integral and differential cross sections for either elastic or inelastic thermal scattering.
- Parameters
xs (dict of str to Function1D) – Integral cross section at each temperature
distribution (dict of str to AngleEnergy) – Secondary angle-energy distribution at each temperature
- Variables
xs (dict of str to Function1D) – Integral cross section at each temperature
distribution (dict of str to AngleEnergy) – Secondary angle-energy distribution at each temperature
- classmethod from_hdf5(group, name, temperatures)[source]¶
Generate thermal scattering reaction data from HDF5
- Parameters
group (h5py.Group) – HDF5 group to read from
name ({'elastic', 'inelastic'}) – Name of the reaction to read
temperatures (Iterable of str) – Temperatures to read
- Returns
Thermal scattering reaction data
- Return type