zblz
naima
Python

Derivation of non-thermal particle distributions through MCMC spectral fitting

Last updated Jul 2, 2026
52
Stars
57
Forks
15
Issues
+1
Stars/day
Attention Score
75
Language breakdown
Python 100.0%
Files click to expand
README

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

.. image:: http://img.shields.io/pypi/v/naima.svg :target: https://pypi.python.org/pypi/naima/ .. image:: http://img.shields.io/badge/license-BSD-green.svg :target: https://github.com/zblz/naima/blob/master/LICENSE.rst .. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg :target: http://www.astropy.org .. image:: http://img.shields.io/badge/arXiv-1509.03319-blue.svg :target: http://arxiv.org/abs/1509.03319

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:

.. code-block:: bibtex

@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 ^^^^^^^^^^^

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

🔗 More in this category

© 2026 GitRepoTrend · zblz/naima · Updated daily from GitHub