A convenience package to compute quantities related to the propagation of ultrahigh-energy based on closed form probability distribution functions. Applicable for both in-source and extragalactic propagation scenarios.
Try it on Binder or just clone the repo and see the examples folder.
A python package is being prepared for installation with pip.
Use of the code should be aknowledged citing
Stochastic analysis of ultrahigh-energy cosmic ray interactions
L. Morejon, KH. Kampert
A&A, 708, A21 (2026)
doi: 10.1051/0004-6361/202557405
Leonel Morejon
Wuppertal University
For questions or collaborations, feel free to open an issue or reach out.