Skip to main content

Open-Source Strong Lensing

Project description

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

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.

🤖 AI-assisted use: you can also learn and drive PyAutoLens with AI — either a browser chat assistant (ChatGPT, Claude) pointed at autolens_assistant, or a fully agentic coding tool (Claude Code, Codex) that runs lens modeling end-to-end on your machine. See the Three Ways to Learn PyAutoLens section below.

Getting Started

The following links are useful for new starters:

Three Ways to Learn PyAutoLens

There are three ways to learn how to use PyAutoLens, which you can freely mix and match:

  1. Manual navigation — read the workspace guides yourself, starting from the new user guide and the start_here notebooks, which are organised by lens scale and dataset type.
  2. AI chat assistant — ask questions to a conversational AI assistant such as ChatGPT or Claude in the browser. Point it at the autolens_assistant repository and ask a question like "How do I model a galaxy-scale strong lens observed with Hubble imaging?".
  3. Fully agentic AI — drive PyAutoLens end-to-end with an agentic coding tool such as Claude Code or Codex together with autolens_assistant. These can inspect your data, write and run scripts, and manage a lens-modeling project directly on your machine.

See autolens_assistant for more on the AI-assisted options (2 and 3).

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autolens-2026.7.9.1.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

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

autolens-2026.7.9.1-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

Details for the file autolens-2026.7.9.1.tar.gz.

File metadata

  • Download URL: autolens-2026.7.9.1.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.13

File hashes

Hashes for autolens-2026.7.9.1.tar.gz
Algorithm Hash digest
SHA256 19d6d17a44a8ec84afcfb70235e9b69f7281825ed1d747ff206f3fc52820fd60
MD5 31fc1f4c482b9603ffdfec4ab0d0528f
BLAKE2b-256 90106f721b2c014e42fc958081ef39103e2dd79080a2402ae58b49f050ed658e

See more details on using hashes here.

File details

Details for the file autolens-2026.7.9.1-py3-none-any.whl.

File metadata

  • Download URL: autolens-2026.7.9.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.13

File hashes

Hashes for autolens-2026.7.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8714534c5b09443e09d134c0edf132c2d30460eb6762908d32db6a5bf54310b1
MD5 bf4681698b34374a3844284b640495f7
BLAKE2b-256 b87e0809513aa33b71ef8bbd1ffd8df32ce4dc86ab3caf6fa690316b9fe4b7f2

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