Skip to main content

naima

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).

http://img.shields.io/pypi/v/naima.svg http://img.shields.io/badge/license-BSD-green.svg http://img.shields.io/badge/powered%20by-AstroPy-orange.svg http://img.shields.io/badge/arXiv-1509.03319-blue.svg

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

https://img.shields.io/github/actions/workflow/status/zblz/naima/tests.yaml?branch=main https://img.shields.io/badge/benchmarked%20by-asv-green.svg

Metadata

Release files for naima 0.10.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for naima 0.10.5
File Size Uploaded Provenance Actions
naima-0.10.5.tar.gz 4.6 MB With provenance Details for naima-0.10.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for naima 0.10.5
File Interpreter ABI Platform Actions
naima-0.10.5-py3-none-any.whl Python 3 none any Details for naima-0.10.5-py3-none-any.whl

Total release size: 9.2 MB

Release files / naima-0.10.5.tar.gz

Download URL naima-0.10.5.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
68774bb010d13852eb42a2b23dda3be780cdff3daea556e1a2ae985febf7f25d
BLAKE2b-256 checksum
How to use checksums
67c95f803035b89c9ef7c49ed5ef2fb464f8d2d5637f24ad5ab2b43d405c5b3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Release files / naima-0.10.5-py3-none-any.whl

Download URL naima-0.10.5-py3-none-any.whl
Size 4.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d7d4e068fd252ad84ca3db13993864fd1e8df6a6ad069d09d14cdcbe777414f4
BLAKE2b-256 checksum
How to use checksums
1fe6665be2970249771d51f2ba2aa4921ae279821c283428919e513a678afb53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for naima 0.10.5

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for naima-0.10.5.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 Nov 14, 2026.

Transparency log

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page