openmc.data.DiscretePhoton¶
-
class
openmc.data.
DiscretePhoton
(primary_flag, energy, atomic_weight_ratio)[source]¶ Discrete photon energy distribution
Parameters: Variables: -
classmethod
from_ace
(ace, idx)[source]¶ Generate discrete photon energy distribution from an ACE table
Parameters: - ace (openmc.data.ace.Table) – An ACE table
- idx (int) – Offset to read from in XSS array (default of zero)
Returns: Discrete photon energy distribution
Return type:
-
classmethod
from_hdf5
(group)[source]¶ Generate discrete photon energy distribution from HDF5 data
Parameters: group (h5py.Group) – HDF5 group to read from Returns: Discrete photon energy distribution Return type: openmc.data.DiscretePhoton
-
classmethod