duo.core package
Submodules
duo.core.constant module
duo.core.dicom_decoder module
duo.core.duo_exception module
duo.core.element module
- class duo.core.element.Element(Z=0)[source]
Bases:
objectClass that manages element-specific data.
- Variables
AWR (float) – atomic weight ratio relative to neutron
xsTable (dictionary) – Each (key, value) pair is (process_id, a list of
PhotoAtomicXS).
- CalculateTotalMicroXSAtE(energy)[source]
It turns out photoatomic total xs should use linear-linear interpolation!!! We compared linear-linear with log-log. Using linear-linear, an almost perfect match between calculated and reference data was observed.
Reference: https://www-nds.iaea.org/exfor/servlet/efhelp/interp.html
According to Endfb photoatomic data notes:
WARNING - As a result the total cross sectionMUST NOT be interpolated to define thetotal between tabulated energies. TheONLY consist way to define the totalbetween tabulated energies is tointerpolate all of the partials andadd them up.So it is incorrect to directly interpolate
self.xsTable["total_ref"]The total microscopic cross-section must be calculated on the fly.- Parameters
energy (float.) – Photon energy in keV.