https://github.com/cosimonigro/agnpy
Modelling jetted Active Galactic Nuclei radiative processes with python
https://github.com/cosimonigro/agnpy
agn astropy blazar jets numpy python radiative-processes
Last synced: 3 months ago
JSON representation
Modelling jetted Active Galactic Nuclei radiative processes with python
- Host: GitHub
- URL: https://github.com/cosimonigro/agnpy
- Owner: cosimoNigro
- License: bsd-3-clause
- Created: 2019-12-17T09:59:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-03T00:13:05.000Z (11 months ago)
- Last Synced: 2025-04-04T13:59:53.158Z (10 months ago)
- Topics: agn, astropy, blazar, jets, numpy, python, radiative-processes
- Language: Jupyter Notebook
- Homepage: https://agnpy.readthedocs.io/en/latest/
- Size: 32.8 MB
- Stars: 51
- Watchers: 5
- Forks: 33
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codemeta: codemeta.json
Awesome Lists containing this project
README
# agnpy
Modelling Active Galactic Nuclei radiative processes with python.
[](http://www.astropy.org/)
## description
`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
[](https://mybinder.org/v2/gh/cosimoNigro/agnpy/HEAD)
## acknowledging and citing agnpy
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)](https://ui.adsabs.harvard.edu/abs/2022A%26A...660A..18N/abstract);
* the zenodo record (for citing a specific version) [](https://doi.org/10.5281/zenodo.4055175)
## documentation and quickstart
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.
## dependencies
The only dependencies are:
* [numpy](https://numpy.org) managing the numerical computation;
* [astropy](https://www.astropy.org) managing physical units and astronomical distances.
* [matplotlib](https://matplotlib.org) for visualisation and reproduction of the tutorials.
* [scipy](https://www.scipy.org/) for interpolation
## installation
The code is available in the [python package index](https://pypi.org/project/agnpy/) and can be installed via `pip`
```bash
pip install agnpy
```
The code can also be installed using `conda`
```bash
conda install -c conda-forge agnpy
```
## tests
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.
## shields
[](https://github.com/cosimoNigro/agnpy/actions/workflows/test.yml)
[](https://github.com/cosimoNigro/agnpy/actions/workflows/pip-upload.yml)
[](https://agnpy.readthedocs.io/en/latest/?badge=latest)

