Closed woutdenolf closed 5 years ago
Hey Wout,
Sorry for the delay.
I think I can live with these increased differences (still small IMHO), given that reverting to the old Fi/Fii dataset is not an option due to the problems that were brought to my attention by @mdw771 and @altaskier. If you need full internal consistency, I recommend calculating Fii yourself based on CS_Photo_Total (or vice versa), instead of using xraylib's Fii (or CS_Photo_Total).
Best,
Tom
The relationship between photoabsorption cross-section and form factor (see NIST:FFAST eq 7) has degraded numerically by commit https://github.com/tschoonj/xraylib/commit/d28f2ef8861a32bde4e1bbc3f0778b0b1f5e29a1 which is in v3.3.0.
Code to test:
Version 3.2.0 (before change): Rel. Difference (Cl @ 30keV): 3.7915729507e-06 Rel. Difference (Fe @ 30keV): 3.77828790713e-07 Rel. Difference (Pb @ 30keV): 1.24547963341e-06
Version 3.3.0 (after change): Rel. Difference (Cl @ 30keV): 0.0064609625621 Rel. Difference (Fe @ 30keV): -0.000222803321302 Rel. Difference (Pb @ 30keV): 0.000661094705178
Not sure whether this is problematic but at least the data sources for CS_Photo_Total and Fii are less consistent than before.