Skip to main content

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

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)

Source distribution for naima 0.10.4
File Size Uploaded
naima-0.10.4.tar.gz 4.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for naima 0.10.4
File Interpreter ABI Platform
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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.10.4 This release

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8

1 release file

0.7.1

1 release file

0.7

0.6.1

1 release file

0.6

1 release file

0.5

1 release file

0.4.1

1 release file

0.4

0.3

1 release file

0.2

1 release file

0.1

1 release file

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