Calculation backend for XOPPY, a widget-based application for X-ray optics calculations in the OASYS environment.
It provides tools for:
- Synchrotron radiation sources (bending magnets, wigglers, undulators)
- X-ray scattering functions (f0, f1/f2, cross sections, Fresnel reflectivity)
- Crystal diffraction (Bragg preprocessor files, structure factors)
- Power and flux calculations for optical elements and monochromators
- Multilayer reflectivity
- Mirror and grating ray-optics (srcalc)
https://xoppylib.readthedocs.io/
https://github.com/oasys-kit/xoppylib
$ pip install xoppylib