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).
As a general acknowledgment of agnpy
usage, we recommend citing the agnpy release paper.
Additionally, 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:
- the agnpy release paper (for a general citation);
- the zenodo record (for citing a specific version)
You are invited to check the documentation at https://agnpy.readthedocs.io/en/latest/.
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 within each agnpy module directory. To run the tests just type
pytest
in the main directory of the cloned repository.