Python bindings for RAYX, the ray tracing engine for synchrotron optics.
pip install rayxNote: The package includes a compiled C++ extension and is distributed as a pre-built wheel. Source builds are not supported via pip.
The package can be built in two ways:
- with
cmake - with
uv build
The 1. option supports build cashing and the build result can be used immediatly without any installation steps. See example The 2. option builds the package as a wheel. The resulting wheel can be installed in your python environment.
uv run pytest testsWheels are built using cibuildwheel inside a custom manylinux container with CUDA support:
pipx run cibuildwheelBuilt wheels are placed in wheelhouse/. See pyproject.toml for the build configuration.