naima is a Python package for computation of non-thermal radiation from relativistic particle populations. It includes tools to perform MCMC fitting of radiative models to X-ray, GeV, and TeV spectra using emcee, an affine-invariant ensemble sampler for Markov Chain Monte Carlo.
naima is named after a ballad composed by John Coltrane in 1959 which appeared in the albums Giant Steps (1959) and Live at the Village Vanguard (1961).
Documentation
Documentation is at naima.readthedocs.io.
Attribution
If you find naima useful in your research, you can cite Zabalza (2015) to acknowledge its use. The BibTeX entry for the paper is:
@INPROCEEDINGS{2015ICRC...34..922Z,
author = {{Zabalza}, V.},
title = {Naima: a Python package for inference of particle distribution properties from nonthermal spectra},
booktitle = {34th International Cosmic Ray Conference (ICRC2015)},
year = 2015,
series = {International Cosmic Ray Conference},
volume = {34},
month = jul,
eid = {922},
pages = {922},
doi = {10.22323/1.236.0922},
archivePrefix = {arXiv},
eprint = {1509.03319},
adsurl = {https://ui.adsabs.harvard.edu/abs/2015ICRC...34..922Z},
}
License
Naima is released under a 3-clause BSD style license - see the LICENSE.rst file.
Code status
Metadata
Release files for naima 0.10.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| naima-0.10.4.tar.gz | 4.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| naima-0.10.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 MB
Release files / naima-0.10.4.tar.gz
| Download URL | naima-0.10.4.tar.gz |
|---|---|
| Size | 4.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9abb544ee547db34d9678b16641c48fb36d9acf52871952ca133b7c98fe2ae8
|
|
BLAKE2b-256 checksum How to use checksums |
9e0c6f29478255258f5ed24a7194e2144c48f5084f559d5ae089f3e2f53cba53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logRelease files / naima-0.10.4-py3-none-any.whl
| Download URL | naima-0.10.4-py3-none-any.whl |
|---|---|
| Size | 4.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57784410741c3c9014daa8b2d89bb649fffcf5baae444180c5df779d30877545
|
|
BLAKE2b-256 checksum How to use checksums |
7097da80f9dd5e68ee6f2e15bb89e942c17a7bb413a7c82802a4bbea034df91c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logSecurity for naima 0.10.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for naima-0.10.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.