https://github.com/pyautolabs/pyautolens
PyAutoLens: Open-Source Strong Gravitational Lensing
https://github.com/pyautolabs/pyautolens
astronomy astrophysics bayesian-inference cosmology galaxy gravitational-lensing python
Last synced: about 1 month ago
JSON representation
PyAutoLens: Open-Source Strong Gravitational Lensing
- Host: GitHub
- URL: https://github.com/pyautolabs/pyautolens
- Owner: PyAutoLabs
- License: mit
- Created: 2017-10-01T12:33:03.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2026-04-27T16:15:51.000Z (about 1 month ago)
- Last Synced: 2026-04-27T18:25:05.810Z (about 1 month ago)
- Topics: astronomy, astrophysics, bayesian-inference, cosmology, galaxy, gravitational-lensing, python
- Language: Python
- Homepage: https://pyautolens.readthedocs.io/
- Size: 264 MB
- Stars: 182
- Watchers: 11
- Forks: 36
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATIONS.rst
- Agents: AGENTS.md
Awesome Lists containing this project
README
PyAutoLens-JAX: Open-Source Strong Lensing
==========================================
.. |nbsp| unicode:: 0xA0
:trim:
.. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg
:target: https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.5.1.4/start_here.ipynb
.. |RTD| image:: https://readthedocs.org/projects/pyautolens/badge/?version=latest
:target: https://pyautolens.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |Tests| image:: https://github.com/Jammy2211/PyAutoLens/actions/workflows/main.yml/badge.svg
:target: https://github.com/Jammy2211/PyAutoLens/actions
.. |Build| image:: https://github.com/Jammy2211/PyAutoBuild/actions/workflows/release.yml/badge.svg
:target: https://github.com/Jammy2211/PyAutoBuild/actions
.. |code-style| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
.. |JOSS| image:: https://joss.theoj.org/papers/10.21105/joss.02825/status.svg
:target: https://doi.org/10.21105/joss.02825
.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4548697.svg
:target: https://doi.org/10.5281/zenodo.4548697
:alt: Zenodo DOI
.. |arXiv| image:: https://img.shields.io/badge/arXiv-1708.07377-blue
:target: https://arxiv.org/abs/1708.07377
.. image:: https://www.repostatus.org/badges/latest/active.svg
:target: https://www.repostatus.org/#active
:alt: Project Status: Active
.. image:: https://img.shields.io/pypi/pyversions/autolens
:target: https://pypi.org/project/autolens/
:alt: Python Versions
.. image:: https://img.shields.io/pypi/v/autolens.svg
:target: https://pypi.org/project/autolens/
:alt: PyPI Version
|colab| |RTD| |Tests| |Build| |code-style| |JOSS| |DOI| |arXiv|
`Installation Guide `_ |
`readthedocs `_ |
`Introduction on Colab `_ |
`HowToLens `_
.. image:: https://github.com/Jammy2211/PyAutoLogo/blob/main/gifs/pyautolens.gif?raw=true
:width: 900
When two or more galaxies are aligned perfectly down our line-of-sight, the background galaxy appears multiple times.
This is called strong gravitational lensing and **PyAutoLens** makes it **simple** to model strong gravitational lenses, using JAX to **accelerate lens modeling on GPUs**.
Getting Started
---------------
The following links are useful for new starters:
- `The PyAutoLens readthedocs `_: which includes `an overview of PyAutoLens's core features `_, `a new user starting guide `_ and `an installation guide `_.
- `The introduction Jupyter Notebook on Google Colab `_: try **PyAutoLens** in a web browser (without installation).
- `The autolens_workspace GitHub repository `_: example scripts covering every **PyAutoLens** use case.
- `The HowToLens GitHub repository `_: a Jupyter notebook lecture series teaching strong lensing and lens modeling from the ground up.
Community & Support
-------------------
Support for **PyAutoLens** is available via our Slack workspace, where the community shares updates, discusses
gravitational lensing analysis, and helps troubleshoot problems.
Slack is invitation-only. If you’d like to join, please send an email requesting an invite.
For installation issues, bug reports, or feature requests, please raise an issue on the `GitHub issues page `_.
HowToLens
---------
For users less familiar with gravitational lensing, Bayesian inference and scientific analysis
you may wish to read through the **HowToLens** lectures. These teach you the basic principles of gravitational lensing
and Bayesian inference, with the content pitched at undergraduate level and above.
A complete overview of the lectures `is provided on the HowToLens readthedocs page `_, and the notebooks themselves live in the `PyAutoLabs/HowToLens `_ repository.
Citations
---------
Information on how to cite **PyAutoLens** in publications can be found `on the citations page `_.
Contributing
------------
Information on how to contribute to **PyAutoLens** can be found `on the contributing page `_.
Hands on support for contributions is available via our Slack workspace, again please email to request an invite.