openmc.data.AngleEnergy¶
-
class
openmc.data.
AngleEnergy
[source]¶ Distribution in angle and energy of a secondary particle.
-
static
from_ace
(ace, location_dist, location_start, rx=None)[source]¶ Generate an angle-energy distribution from ACE data
Parameters: - ace (openmc.data.ace.Table) – ACE table to read from
- location_dist (int) – Index in the XSS array corresponding to the start of a block, e.g. JXS(11) for the the DLW block.
- location_start (int) – Index in the XSS array corresponding to the start of an energy distribution array
- rx (Reaction) – Reaction this energy distribution will be associated with
Returns: distribution – Secondary angle-energy distribution
Return type:
-
static
from_hdf5
(group)[source]¶ Generate angle-energy distribution from HDF5 data
Parameters: group (h5py.Group) – HDF5 group to read from Returns: Angle-energy distribution Return type: openmc.data.AngleEnergy
-
static