openmc.data.PhotonReaction¶
- class openmc.data.PhotonReaction(mt)[source]¶
Photon-induced reaction
- Parameters
mt (int) – The ENDF MT number for this reaction.
- Variables
anomalous_real (openmc.data.Tabulated1D) – Real part of the anomalous scattering factor
anomlaous_imag (openmc.data.Tabulated1D) – Imaginary part of the anomalous scatttering factor
mt (int) – The ENDF MT number for this reaction.
scattering_factor (openmc.data.Tabulated1D) – Coherent or incoherent form factor.
xs (Callable) – Cross section as a function of incident photon energy
- classmethod from_ace(ace, mt)[source]¶
Generate photon reaction from an ACE table
- Parameters
ace (openmc.data.ace.Table) – ACE table to read from
mt (int) – The MT value of the reaction to get data for
- Returns
Photon reaction data
- Return type
- classmethod from_endf(ev, mt)[source]¶
Generate photon reaction from an ENDF evaluation
- Parameters
ev (openmc.data.endf.Evaluation) – ENDF photo-atomic interaction data evaluation
mt (int) – The MT value of the reaction to get data for
- Returns
Photon reaction data
- Return type
- classmethod from_hdf5(group, mt, energy)[source]¶
Generate photon reaction from an HDF5 group
- Parameters
group (h5py.Group) – HDF5 group to read from
mt (int) – The MT value of the reaction to get data for
energy (Iterable of float) – arrays of energies at which cross sections are tabulated at
- Returns
Photon reaction data
- Return type