agnpy focuses on the numerical computation of the photon spectra produced by leptonic radiative processes in jetted Active Galactic Nuclei (AGN).
Notation and basic formulas are borrowed from [DermerMenon2009] which constitutes the fundamental reference for this code. The implementation of synchrotron and synchrotron self-Compton radiative processes relies on [DermerMenon2009] and [Finke2008]; [Dermer2009] and [Finke2016] are instead the main references for the external Compton radiative processes.
The code is licensed under BSD-3-Clause License (see LICENSE.md in the main directory).
The code is available in the python package index and can be installed via
pip install agnpy
The code can also be installed with
conda install -c conda-forge agnpy
The only dependencies are:
The documentation includes several tutorial jupyter notebooks providing examples of applications of the code functionalities.
- Non-thermal Electrons Spectra
- Emission Regions
- Synchrotron Radiation
- Photon Targets for External Compton
- Tutorial: Energy Densities of the Photon Targets
- A note on dust torus thermal emission
- Inverse Compton
- Tutorial: Synchrotron and Synchrotron Self Compton
- Tutorial: External Compton scattering
- Absorption by \(\gamma\)-\(\gamma\) pair production
- Tutorial: \(\gamma\)-\(\gamma\) Absorption in the Photon Fields of Line and Thermal Emitters
- Calculations of Energy Densities, Inverse Compton SEDs and \(\gamma\)-\(\gamma\) optical depths
- Self-consistent modelling
- Use agnpy radiative processes to fit a MWL SED
- Tutorial: fitting a BL Lac broad-band SED using angpy and sherpa
- Tutorial: fitting a BL Lac broad-band SED using angpy and Gammapy
- Tutorial: fitting a FSRQ broad-band SED using angpy and sherpa
- Tutorial: fitting a FSRQ broad-band SED using angpy and Gammapy
- agnpy package