Closed AtsushiTanimoto closed 8 months ago
Hi Atsushi,
This is expected given that CSb_Photo
and CSb_Photo_Partial
do not use the same underlying database. Try using CSb_Photo_Total
instead of CSb_Photo
. Then you should be using the same databases
Dear Dr. Tom Schoonjans,
Thank you for your reply.
Try using CSb_Photo_Total instead of CSb_Photo . Then you should be using the same databases.
In this case, we obtained the same cross-section.
Hi Atsushi,
Thank you for letting me know this proposed solution worked. I will update the documentation with some clarification as this is counter intuitive and unexpected behaviour.
Greetings,
Tom
Thank you for maintaining the xraylib code.
I used the following code to calculate the total cross section and K-shell cross section in the photoelectric effect of hydrogen. In the case of hydrogen, though these values should match, they are different. If I am using xraylib incorrectly, I would appreciate it if you could tell me how to write the code.
Regards, Atsushi Tanimoto