Skip to content

About the Python Api

The Python API is build upon the C++ library using pybind11. This API does not provide as much control over the simulations as using the C++ library directly, however it retains the majority of the functionality, has a lower barrier to entry and, it is more readable. If you are looking to utilize drt, this API is recommended.

If using the pypi module, or compiling with the dynamic flag.

Examples