
Cosmic Ray Stochastic Interactions for Propagation
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.
Usage
Try the examples directly in your browser — no installation needed:
| Notebook | Binder | Colab |
|---|---|---|
| Cross Sections | ||
| Injection Composition | ||
| Nuclear Decays |
Installation
Install directly from PyPI:
pip install crisp-pypi
Or clone the repository and install in editable mode for development:
git clone https://github.com/mohller/crisp.git
cd crisp
pip install -e .
Cross-section tables (optional, downloaded post-installation)
The code employs photodisintegration and photopion cross-section tables from the CRPropa3-data repository. These tables are not bundled with the package, but are downloaded automatically post installation the first time it is used. The user can, however, use some of the cross section models available in CRISP as alternative.
The user can also fetch the tables any time once with either:
import crisp
crisp.fetch_crpropa_tables() # saves to ~/.cache/crisp/CRPropa3-data/tables/
crisp-fetch-data # on the terminal, equivalent
Citation
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
Author
Leonel Morejon
Wuppertal University
Contact
For questions or collaborations, feel free to open an issue or reach out.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crisp_pypi-0.3.0.tar.gz.
File metadata
- Download URL: crisp_pypi-0.3.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08c60e63e5a4ce8825f2ee4caecdb03c8b49411486755feab5d19db44284847
|
|
| MD5 |
541180702e3d8b9bc20c3983226e2a41
|
|
| BLAKE2b-256 |
d622636a7851e71f2817e5fe88664d563b5e13d49082df901355438d74376544
|
Provenance
The following attestation bundles were made for crisp_pypi-0.3.0.tar.gz:
Publisher:
publish.yml on mohller/crisp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crisp_pypi-0.3.0.tar.gz -
Subject digest:
e08c60e63e5a4ce8825f2ee4caecdb03c8b49411486755feab5d19db44284847 - Sigstore transparency entry: 2187839105
- Sigstore integration time:
-
Permalink:
mohller/crisp@c590910f86d2d02df538560139b9c6f33b08e4fe -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/mohller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c590910f86d2d02df538560139b9c6f33b08e4fe -
Trigger Event:
push
-
Statement type:
File details
Details for the file crisp_pypi-0.3.0-py3-none-any.whl.
File metadata
- Download URL: crisp_pypi-0.3.0-py3-none-any.whl
- Upload date:
- Size: 888.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b6b60a741e605bb2bc8d11cacf4540555dcddf0782eb8e1daeed65bb4220ea
|
|
| MD5 |
654c3316e011543966f6b8edab3e2b1f
|
|
| BLAKE2b-256 |
e1dbddcbb4c888250649f8d74bceb823ceb3bce284d13b06d2028fad95b067c2
|
Provenance
The following attestation bundles were made for crisp_pypi-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on mohller/crisp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crisp_pypi-0.3.0-py3-none-any.whl -
Subject digest:
b1b6b60a741e605bb2bc8d11cacf4540555dcddf0782eb8e1daeed65bb4220ea - Sigstore transparency entry: 2187839122
- Sigstore integration time:
-
Permalink:
mohller/crisp@c590910f86d2d02df538560139b9c6f33b08e4fe -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/mohller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c590910f86d2d02df538560139b9c6f33b08e4fe -
Trigger Event:
push
-
Statement type: