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