I am using the Python version to get the mass-energy absorption cross section.
For example:
import xraylib as xl
xl.CS_Energy(1, 1) # output 0.6121639990892117
xl.CS_Total(1, 1) # output 7.21469187302649
The total cross section matches with the NIST page for Hydrogen, but the mass-energy absorption cross section is quite different (NIST page gives 6.820).
This exists not only in this case. I randomly tested a few cases, but they all didn't match.
I am using the Python version to get the mass-energy absorption cross section.
For example:
The total cross section matches with the NIST page for Hydrogen, but the mass-energy absorption cross section is quite different (NIST page gives 6.820).
This exists not only in this case. I randomly tested a few cases, but they all didn't match.