tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
120 stars 55 forks source link

Unit in x-ray fluorescence cross section #34

Closed licode closed 8 years ago

licode commented 8 years ago

We often use cm2/g for the unit of x-ray fluorescence cross section. However, barn is also very popular for cross sections. Can I output fluorescence cross section in barn in xraylib? Thanks!

licode commented 8 years ago

I double checked the functions again. I think I just need to change xraylib.CS_FluorLine_Kissel to xraylib.CSb_FluorLine_Kissel.

tschoonj commented 8 years ago

Yep that is correct indeed.