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.


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.1.8.tar.gz (936.6 kB view hashes)

Uploaded source

Built Distribution

agnpy-0.1.8-py3-none-any.whl (963.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page