/naima

Derivation of non-thermal particle distributions through MCMC spectral fitting

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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

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:

@ARTICLE{naima,
   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 = {http://adsabs.harvard.edu/abs/2015arXiv150903319Z},
}

License

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

Code status

http://img.shields.io/github/workflow/status/zblz/naima/Tests