Observed since 20 Oct, 16:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python package for calculation of secondary particle production in nuclear interactions
Python implementation of the AAFrag secondary particle production model (based on QGSJET-II-04m) with adaptive curve-morphing interpolation. The package provides fast, vectorized reconstruction of differential production cross-sections and spectra from high-energy hadronic interactions while preserving the original tabulated Monte Carlo precision.
Install aafragpy via pip:
pip install aafragpy
A step-by-step walkthrough of the package API and spectral calculations is available in the Jupyter Notebook tutorial.
You can launch and run the interactive tutorial directly in Google Colab:
Important Notice on Citations:
If you useaafragpyin your scientific work, please cite both theaafragpypackage paper and the corresponding original AAFrag / Monte Carlo data publications. Proper attribution to the original cross-section calculations ensures continued support and development of hadronic interaction models.
AAfrag 2.0 (v2.02 Data Tables & Antinuclei):
M. Kachelrieß, S. Ostapchenko, and J. Tjemsland,
“AAfrag 2.01: Interpolation routines for Monte Carlo results on secondary production including light antinuclei in hadronic interactions,”
Comput. Phys. Commun. 287, 108698 (2023), arXiv:2206.00998.
AAfrag 1.0 (Original QGSJET-II-04m Tabulations):
M. Kachelrieß, I. V. Moskalenko, and S. Ostapchenko,
“AAfrag: Interpolation routines for Monte Carlo results on secondary production in proton-proton, proton-nucleus and nucleus-nucleus interactions,”
Comput. Phys. Commun. 245, 106846 (2019), arXiv:1904.05129.
If you utilize the optional alternative models included in the package, please also cite the respective source papers:
Kamae et al. (2006) + Erratum:
Kafexhiu et al. (2014):
E. Kafexhiu, F. Aharonian, A. M. Taylor, and G. S. Vila,
“Parametrization of gamma-ray production cross-sections for p-p interactions in a broad proton energy range from the kinematic threshold to PeV energies,”
Phys. Rev. D 90, 123014 (2014), arXiv:1406.7369.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.0.4 | 11 Sept 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 16:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bbb7341690284b943eb1ccde09be362dcd8efddec92631275bf70564749a5f96