Skip to main content

Solutions to parametric AGN disk models

Project description

DOI

pagn

pagn is a Python module for solving the AGN disk models of Sirko & Goodman (2003) and Thompson et al. (2005). It is designed to be simple, transparent, and highly customizable.

Given a set of physical inputs, pagn computes fully evolved 1D AGN disk structures, providing parametric radial profiles of key quantities such as temperature, density, and related disk properties.

Typical applications include:

  • Migration torques in AGN disks
  • Formation and evolution of compact objects embedded in gas disks
  • Benchmarking and comparison with more complex AGN disk models

Installation

Install from PyPI with:

pip install pagn

Documentation

Documentation and example usage are available at: https://aatrani.gitlab.io/pagn/


Citation

If you use pagn, please cite:

  • pAGN: the one-stop solution for AGN disc modeling.
    Daria Gangardt, Alessandro Alberto Trani, Clément Bonnerot, Davide Gerosa.
    Monthly Notices of the Royal Astronomical Society.
    arXiv:2403.00060 | ADS Link

Source Code

The code is hosted at:


Authors and Contributions

Developed by Daria Gangardt and Alessandro A. Trani.
Currently maintained by Alessandro A. Trani.

Bug reports, feature requests, and suggestions are welcome via GitLab issues.


License

pagn is distributed under the GPLv3 license.


Development and Release Workflow

  1. Build the package:

    python -m build

    This generates .whl and .tar.gz files in the dist/ directory.

  2. Test locally:

    pip install dist/pagn-x.y.z-py3-none-any.whl

  3. Upload to TestPyPI:

    twine upload --repository testpypi dist/*

  4. Test installation from TestPyPI:

    pip install --index-url https://test.pypi.org/simple/ pagn

  5. If successful, upload to PyPI:

    twine upload dist/*

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

pagn-1.1.0.tar.gz (105.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pagn-1.1.0-py3-none-any.whl (96.3 kB view details)

Uploaded Python 3

File details

Details for the file pagn-1.1.0.tar.gz.

File metadata

  • Download URL: pagn-1.1.0.tar.gz
  • Upload date:
  • Size: 105.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pagn-1.1.0.tar.gz
Algorithm Hash digest
SHA256 02dd39acb84a43c77be845effa9d95e3530b886dd4297f1a8d0f4e026c0950dd
MD5 9bc076f5fad90207e8cf826e817d3680
BLAKE2b-256 f15e0278777bcac2fa23cea6825e13af77854ed66ee5fc01e9dd35dc67213c8e

See more details on using hashes here.

File details

Details for the file pagn-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pagn-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 96.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pagn-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 226e7ef8d9f22be6b2a8910d0298177d30123ef9cc82dde458ba630fbf247018
MD5 bdf721431597ee1ab118b6bd5c34f824
BLAKE2b-256 87da3a1dddd73b5464889ea881ebd284bcb4ec88756a22e2a7973355f8878ab9

See more details on using hashes here.

Supported by

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