Skip to main content

aafragpy

Python implementation of secondary particle production model AAFrag (based on QGSJEt-II-04m). The code is modified after the original AAFrag code written on Fortran [1].

This package allows to quickly reconstruct the differential cross-sections of secondary gammas, leptons, and hadrons producing in a result of hadronic interaction between primary hadrons and different targets.

The package allows to calculate the spectrum of products knowing the spectra of primary particles and the composition of the target in the wide energy range from hundreds of MeV to EeVs.

Additional consideration of low-energy nuclear interactions is also possible using Kamae et al. 2006 [2] and Kafexhiu et al. 2014 [3] codes.

Installation

The package is easy to install using pip:

pip install aafragpy

Interactive Tutorial

Tutorial of package usage is given in interactive Jupiter Notebook.

You can also get started quickly using cloud service Binder to run the tutorial in your web browser within a remote server:

Binder


Comments are welcome!


If you are using aafragpy, please cite us as:

S. Koldobskiy, M. Kachelrieß, A. Lskavyan, A. Neronov, S. Ostapchenko, and D. V. Semikoz, “Energy spectra of secondaries in proton-proton interactions,” Phys. Rev. D, vol. 104, no. 12, p. 123027, 2021, arXiv:2110.00496.

References:

[1] 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., vol. 245, p. 106846, 2019.

[2] T. Kamae, N. Karlsson, T. Mizuno, T. Abe, and T. Koi, “Parameterization of γ, e+-, and Neutrino Spectra Produced by p-p Interaction in Astronomical Environments,” Astrophys. J., vol. 647, no. 1, pp. 692–708, 2006.

[3] E. Kafexhiu, F. Aharonian, A. M. Taylor, and G. S. Vila, “Parametrization of gamma-ray production cross-sections for pp interactions in a broad proton energy range from the kinematic threshold to PeV energies,” Phys. Rev. D, vol. 90, no. 12, pp. 1–19, 2014.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aafragpy-1.15.tar.gz (36.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aafragpy-1.15-py3-none-any.whl (36.8 MB view details)

Uploaded Python 3

File details

Details for the file aafragpy-1.15.tar.gz.

File metadata

  • Download URL: aafragpy-1.15.tar.gz
  • Upload date:
  • Size: 36.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.16

File hashes

Hashes for aafragpy-1.15.tar.gz
Algorithm Hash digest
SHA256 b68ee880b1378d287463d164f24a2e93c63e7041d5168b4490b0e5ccea476352
MD5 a7700ce66b7a8917d8cb3ab22e388bb7
BLAKE2b-256 e16f57f8b0e737e2380c05901277f0d854cc728569a8fe23472eea6ce83c8287

See more details on using hashes here.

File details

Details for the file aafragpy-1.15-py3-none-any.whl.

File metadata

  • Download URL: aafragpy-1.15-py3-none-any.whl
  • Upload date:
  • Size: 36.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.16

File hashes

Hashes for aafragpy-1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 29c8faca6bbc0eb6db01099cd3ff10ff0fd1bfd970f84aa46d1d76d60bb8f30c
MD5 77924a52aa36c1249782c1e23077dd71
BLAKE2b-256 3bddf533b8ff5654fcceb652f54871ea2f0632f0b776aea47c1873ef94a8cfa4

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.3

2 files

2.0.1

2 files

2.0

2 files

This release

1.15 This release

2 files

1.14.4

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14

2 files

1.12

2 files

1.11

2 files

1.1

2 files

1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page