skip to navigation
skip to content

naima 0.8.1

Derivation of non-thermal particle distributions through MCMC spectral fitting

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 is at


If you find naima useful in your research, you can cite Zabalza (2015) to acknowledge its use. The BibTeX entry for the paper is:

   author = {{Zabalza}, V.},
    title = {naima: a Python package for inference of relativistic particle
             energy distributions from observed nonthermal spectra},
     year = 2015,
  journal = {Proc.~of International Cosmic Ray Conference 2015},
    pages = "922",
   eprint = {1509.03319},
   adsurl = {},


Naima is released under a 3-clause BSD style license - see the LICENSE.rst file.

Code status

File Type Py Version Uploaded on Size
naima-0.8.1.tar.gz (md5) Source 2017-09-27 13MB