Kerrpy allows you generate images of rotating black holes by numerically solving the geodesic equations of the kerr spacetime.
Kerrpy solves numerically the geodesic equations of the kerr spacetime using a modified Runge-Kutta-Fehlberg Method (RKF45) that provides the perfect balance between precission and speed. The correct number of iterations is automatically determined to ensure fast and high precision result.
learn moreKerrpy uses GPU and CPU parallelization techniques to achieve maximum performance. The GPU version is implemented in CUDA and performance-tuned using instruction level parallelism, minimal warp branching and coalesced memory access patterns. The CPU version makes use of Cython and OpenMP optimized at the ASM level.
learn moreKerrpy makes very easy to learn about the kerr spacetime, general relativity and numerical integration of geodesics but is also a very powerfull tool for scientist and researchers. You can generate publication-ready images or make your own experiments extending the code using the pythonic application interface.
learn morea detailed walkthrough of running Kerrpy rovided in the documentation
git clone https://github.com/kerrpy/kerrpy.git git clone https://github.com/kerrpy/kerrpy.git
pip install requirements.txt
python setup.py install
python kerrpy_gui.py
Kerrpy licensed under the GNU General Public License v3.0 and hosted on github. Contributions are welcomed.