The extensible periodic table, periodictable package has quite a few useful tools for scattering and spectroscopy experiments. Consider adding that package as a dependency to SpectroscoPyx, or incorporate the data sources. Here is their Github page. Here is documentation on scattering functions.