pynchrotron

computes synchrotron from cooling electrons


Keywords
astromodels, chang-cooper, electrons, gamma-ray-astronomy, grb, numerics, synchrotron, threeml
License
GPL-2.0+
Install
pip install pynchrotron==1.0.0

Documentation

Build Status codecov DOI

pynchrotron

alt text

Implements synchrotron emission from cooling electrons. This is the model used in Burgess et al (2019). Please cite if you find this code useful for your research.

  • This code gets rid of the need for GSL which was originally relied on for a quick computation of the of the synchrotron kernel which is an integral over a Bessel function.
  • This code has been ported from GSL and written directly in python as well as accelerated with numba
  • An astromodels function is also supplied for direct use in 3ML.