CrossSections
- class CrossSections(p1, p2, parent)
Reads and holds the cross sections for a choice of incident and outgoing particles
- Parameters:
p1 (str) – Incident particle name according to the HDF5 file.
p2 (str) – Outgoing particle name according to the HDF5 file.
parent (XSLibrary) – The parent XSLibrary from which these cross sections are pulled.
- h5
The group within the HDF5 file describing this p1, p2
- Type:
h5py.Group
- scattering
The scattering cross sections in units of cm^{-1}. The list is over outgoing energy indices, while the ranks are [material, Legendre order, incident energy index]
- Type:
list(np.float64 [:,:,:])
- attn
p1 = p2 only. The attenuation coefficients in units of cm^{-1}. Ranks are [material, energy index]
- Type:
np.float64 [:,:]
- energy_dep
p1 = p2 only. The energy deposition coefficients in units of MeV / cm. Ranks are [material, energy index]
- Type:
np.float64 [:,:]
- dose_dep
p1 = p2 only. The dose deposition coefficients in units of MeV * cm^{2} / g. Ranks are [material, energy index]
- Type:
np.float64 [:,:]
- charge_dep
p1 = p2 only. The charge deposition coefficients in units of e / cm. Ranks are [material, energy index]
- Type:
np.float64 [:,:]