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

acknowledging and citing agnpy

As a general acknowledgement of agnpy usage, we recommend citing the agnpy release paper. Additionaly, to specify which version of agnpy is being used, that version's zenodo record can be cited. We recommend citing both.

At the following links you can find:

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.


CI test

Upload to PIP

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.

Source Distribution

agnpy-0.4.0.tar.gz (1.6 MB view hashes)

Uploaded source

Built Distribution

agnpy-0.4.0-py3-none-any.whl (1.6 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page