xraylib: the official online calculator!

This webpage is built around xraylib, an ANSI-C library designed to provide convenient access to physical data in the field of interactions of X-rays with matter. The library comes with bindings to a large number of languages such as Python, Perl, Fortran, PHP (used to power this website) and several others. For all information concerning the library, have a look at the xraylib Github repository.

Through the interface provided here, you should be able to perform simple queries from the database. With the instructions provided in the online manual, you will be able to integrate similar queries directly into your own applications using one of the bindings we offer.

xraylib is the result of an ongoing research collaboration between the European Synchrotron Radiation Facility (Grenoble, France), Ghent University (Flanders, Belgium) and the University of Sassari (Sardinia, Italy). When using this website, or xraylib itself, please cite our work in your publications.