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 54 forks source link

Interpretation of Error Messages #100

Closed ginsanity15 closed 5 years ago

ginsanity15 commented 5 years ago

Dear Developers of Xraylib,

I am trying to determine fluorescence cross section of high Z elements with the following code in C++: fluo_cs = CS_FluorLine(Z, KA_LINE, energy);

For certain reason, I kept receiving messages as follow even though the output seems correct.

Shell not available in function FluorYield Line not available in function RadRate

May I know what does this mean? Is that the "meaningless errors" mentioned in wiki page? https://github.com/tschoonj/xraylib/wiki/The-xraylib-API-list-of-all-functions#error-handling

tschoonj commented 5 years ago

Yep these are indeed meaningless errors. Best is to call SetErrorMessages (0) at the start of your program.