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

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.11.0
File Size Uploaded Provenance Actions
naima-0.11.0.tar.gz 4.7 MB With provenance Details for naima-0.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.2 MB

Release files / naima-0.11.0.tar.gz

Download URL naima-0.11.0.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
f392c4ac1aa5b28890c6b6ba0ba6668e052b53b3bce4691ecda85b60bce9428e
BLAKE2b-256 checksum
How to use checksums
e7594201f77a4e7f3f30ef1b03856469bd551acdaedab690dbb95dd49e79517a
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 19, 2026.

Transparency log

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

Download URL naima-0.11.0-py3-none-any.whl
Size 4.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ce29b99e1b2c132f0cd381f66d467cf0f962fe27460531c7d407c8befb604053
BLAKE2b-256 checksum
How to use checksums
d76a55bc7f6e4c0f4fc3020999de916778e78f8c6ee21d4799cedcabf3555443
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 19, 2026.

Transparency log

Security for naima 0.11.0

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.11.0.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 19, 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