GitPedia

PyAutoLens

PyAutoLens: Open-Source Strong Gravitational Lensing

From PyAutoLabs·Updated June 24, 2026·View on GitHub·

[Installation Guide](https://pyautolens.readthedocs.io/en/latest/installation/overview.html) | [readthedocs](https://pyautolens.readthedocs.io/en/latest/index.html) | [Introduction on Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.5.29.4/notebooks/imaging/start_here.ipynb) | [HowToLens](https://pyautolens.readthedocs.io/en/latest/howtolens/howtolens.html) The project is written primarily in Python, distributed under the MIT License license, first published in 2017. Key topics include: astronomy, astrophysics, bayesian-inference, cosmology, galaxy.

Latest release: 2026.5.29.4v2026.5.29.4
May 29, 2026View Changelog →

PyAutoLens-JAX: Open-Source Strong Lensing

Colab
Documentation Status
Tests
Build
Code Style: black
JOSS
Zenodo DOI
arXiv
Project Status: Active
Python Versions
PyPI Version

Installation Guide |
readthedocs |
Introduction on Colab |
HowToLens

<img src="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.

🤖 Prototype: autolens_assistant is an early-stage AI assistant you talk to in natural language to do lens modeling end-to-end. It is experimental and not the recommended starting point — the readthedocs, autolens_workspace, and HowToLens below remain the canonical entry points. Try it if you'd like to drive PyAutoLens by conversation.

Getting Started

The following links are useful for new starters:

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.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from PyAutoLabs/PyAutoLens via the GitHub API.Last fetched: 6/25/2026