Skip to main content

Python package for calculation of secondary particle production in nuclear interactions

Project description

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.

Project details


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.14.4.tar.gz (36.0 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aafragpy-1.14.4.tar.gz
Algorithm Hash digest
SHA256 879b85eb25fbd8d3061943ca61802e0068454e6cfcb079e873f05563af419db5
MD5 85233b727b8840ececf92bc24798ed2d
BLAKE2b-256 3555c780cd8d2db59d3a317bf17096a1a229a82557942b20c790358a7957dbeb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aafragpy-1.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d24216a899e1b587b54fa03098bebf363af83442355176505d4aa6493bb6e2
MD5 0960bf3d831c2e3c0c8812e9e2645aba
BLAKE2b-256 57f1641bc3d131cacd4b3ccbc38eae83d1750a54aad87126f2da62fb1789a615

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page