Jupyter script that calls the Center for X-Ray Optics (CXRO) website [1] and retrieves the refractive index (tabulated values originally published by [2]) for a given material composition and density for low energies (30eV to 30keV).
This script calls the website, retrieves the data and then plots it in either the typical delta and beta plot or the delta/beta ratio.
The plots are interactive, so one can hover the mouse and easily retrieve the numerical values. It is also possible to also zoom and pan.
A scroll bar that controls the material density allows the user to interactively investigate how different densities affect the refractive index.
It also provides functionality for the differential refractive index (the refractive index for the boundary when you have a material inside another material).
Jupyter script that calls the Center for X-Ray Optics (CXRO) website [1] and retrieves the refractive index for a given material composition and density for low energies (30eV to 30keV).
[2] B. L. Henke, E. M. Gullikson, and J. C. Davis, “X-ray interactions: photoabsorption, scattering, transmission and reflection E= 50-30,000 eV, Z= 1-92”, Atomic data and nuclear data tables, vol. 54, 1993.