Skip to content
/ naima Public

Derivation of non-thermal particle distributions through MCMC spectral fitting

License

Notifications You must be signed in to change notification settings

zblz/naima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

92076dd · Jan 18, 2025
Jan 18, 2025
Jan 17, 2025
Jan 17, 2025
Jan 17, 2025
Jan 17, 2025
Nov 7, 2024
Feb 19, 2015
Nov 29, 2018
Jan 18, 2025
Jan 17, 2025
Mar 14, 2023
Jan 17, 2025
Jan 17, 2025
Jan 18, 2025
Jan 18, 2025
Jan 17, 2025
Jan 8, 2025

Repository files navigation

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

https://img.shields.io/github/actions/workflow/status/zblz/naima/tests.yaml?branch=main