Metadata-Version: 2.4
Name: crisp-pypi
Version: 0.1.0
Summary: Cosmic Ray Stochastic Interactions for Propagation
Author-email: Leonel Morejon <leonel.morejon@uni-wuppertal.de>
License: MIT
Project-URL: Homepage, https://github.com/mohller/crisp
Project-URL: Bug Tracker, https://github.com/mohller/crisp/issues
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: astropy>=5.0
Requires-Dist: numpy>=1.21
Requires-Dist: pandas>=1.3
Requires-Dist: scipy>=1.7
Requires-Dist: pint>=0.18
Requires-Dist: sympy>=1.9
Requires-Dist: matplotlib>=3.4
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov>=3.0; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: flake8>=4.0; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=4.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
Requires-Dist: nbsphinx>=0.8; extra == "docs"
Dynamic: license-file

# ![](doc/crisp_logo_dark.svg#gh-light-mode-only)
# ![](doc/crisp_logo_light.svg#gh-dark-mode-only)<br> 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 | [![Binder](https://gesis.mybinder.org/badge_logo.svg)](https://gesis.mybinder.org/v2/gh/mohller/crisp/HEAD?filepath=examples/Cross_Sections.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mohller/crisp/blob/main/examples/Cross_Sections.ipynb) |
| Injection Composition | [![Binder](https://gesis.mybinder.org/badge_logo.svg)](https://gesis.mybinder.org/v2/gh/mohller/crisp/HEAD?filepath=examples/Injection_composition.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mohller/crisp/blob/main/examples/Injection_composition.ipynb) |
| Nuclear Decays | [![Binder](https://gesis.mybinder.org/badge_logo.svg)](https://gesis.mybinder.org/v2/gh/mohller/crisp/HEAD?filepath=examples/Nuclear_Decays.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mohller/crisp/blob/main/examples/Nuclear_Decays.ipynb) |

## Installation

Install directly from PyPI:

```bash
pip install crisp-pypi
```

Or clone the repository and install in editable mode for development:

```bash
git clone https://github.com/mohller/crisp.git
cd crisp
pip install -e .
```

## 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](https://doi.org/10.1051/0004-6361/202557405)

## Author

Leonel Morejon\
Wuppertal University

## Contact

For questions or collaborations, feel free to open an issue or reach out.
