Skip to main content

Modelling jetted Active Galactic Nuclei radiative processes with python

Project description


Modelling Active Galactic Nuclei radiative processes with python.


agnpy focuses on the numerical computation of the photon spectra produced by leptonic radiative processes in jetted Active Galactic Nuclei (AGN).

agnpy binder

Run this repository in binder

citing agnpy

If you are using agnpy for your work you can acknowledge and reference it through its zenodo record

documentation and quickstart

You are invited to check the documentation at
To get familiar with the code you can run the notebooks in the tutorials section of the documentation.


The only dependencies are:

  • numpy managing the numerical computation;

  • astropy managing physical units and astronomical distances.

  • matplotlib for visualisation and reproduction of the tutorials.

  • scipy for interpolation


The code is available in the python package index and can be installed via pip

pip install agnpy

The code can also be installed using conda

conda install -c conda-forge agnpy


A test suite is available in agnpy/tests, to run it just type pytest in the main directory.


Documentation Status

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for agnpy, version
Filename, size File type Python version Upload date Hashes
Filename, size agnpy- (991.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size agnpy- (913.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page