Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
### Explore It Yourself

- **[Start Here](https://pyautolens.readthedocs.io/en/latest/overview/overview_1_start_here.html)** — discover PyAutoLens and work through your first example.
- **[Try it in your browser](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/start_here.ipynb)** — run the introductory notebook without installing anything.
- **[Try it in your browser](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/start_here.ipynb)** — run the introductory notebook without installing anything.
- **[Install PyAutoLens](https://pyautolens.readthedocs.io/en/latest/installation/overview.html)** — get set up on your computer.

Visit the [workspace](https://github.com/PyAutoLabs/autolens_workspace#find-your-examples) to find examples for your data and science goals.
Expand Down
12 changes: 6 additions & 6 deletions docs/howtolens/howtolens.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Basic Python familiarity is useful. You do not need previous experience with len

## Start here

**Tutorial 0: Visualization** — [GitHub](https://github.com/PyAutoLabs/HowToLens/blob/main/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb)
**Tutorial 0: Visualization** — [GitHub](https://github.com/PyAutoLabs/HowToLens/blob/main/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb)

Check your setup and learn how to display figures. In Colab, run the setup cell first, then work through the notebook in order.

Expand All @@ -20,11 +20,11 @@ GitHub opens the chapter’s notebook folder. Colab opens its first tutorial; th

| Chapter | What you’ll learn | Before you start | Open |
| --- | --- | --- | --- |
| <span id="chapter_1_introduction"></span>1. Strong Lensing | Build galaxies, trace light, simulate observations and compare model images with data. | Basic Python; lensing concepts are introduced as you go. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_1_introduction) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb) |
| <span id="chapter_2_lens_modeling"></span>2. Lens Modeling | Fit lens models with Bayesian searches, inspect results and fit components in stages. | Chapter 1: ray tracing, data, residuals and likelihoods. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_2_lens_modeling) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb) |
| <span id="chapter_3_pixelizations"></span>3. Pixelizations | Reconstruct background-source light on a mesh; choose smoothing using Bayesian evidence and improve the reconstruction. | Chapter 2, including search chaining and positions constraints. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_3_pixelizations) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb) |
| <span id="chapter_4_scaling_up_lensing"></span>4. Scaling Up Lensing | Model multiple deflectors, groups and clusters; progress from extended images to image positions and weak-lensing shear. | Chapter 2 and the pixelized-source methods introduced in Chapter 3. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_4_scaling_up_lensing) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb) |
| <span id="chapter_optional"></span>Optional tutorials | Explore alternative searches and runtime. Prior passing is historical background. | Chapter 2. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_optional) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_optional/tutorial_searches.ipynb) |
| <span id="chapter_1_introduction"></span>1. Strong Lensing | Build galaxies, trace light, simulate observations and compare model images with data. | Basic Python; lensing concepts are introduced as you go. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_1_introduction) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb) |
| <span id="chapter_2_lens_modeling"></span>2. Lens Modeling | Fit lens models with Bayesian searches, inspect results and fit components in stages. | Chapter 1: ray tracing, data, residuals and likelihoods. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_2_lens_modeling) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb) |
| <span id="chapter_3_pixelizations"></span>3. Pixelizations | Reconstruct background-source light on a mesh; choose smoothing using Bayesian evidence and improve the reconstruction. | Chapter 2, including search chaining and positions constraints. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_3_pixelizations) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb) |
| <span id="chapter_4_scaling_up_lensing"></span>4. Scaling Up Lensing | Model multiple deflectors, groups and clusters; progress from extended images to image positions and weak-lensing shear. | Chapter 2 and the pixelized-source methods introduced in Chapter 3. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_4_scaling_up_lensing) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb) |
| <span id="chapter_optional"></span>Optional tutorials | Explore alternative searches and runtime. Prior passing is historical background. | Chapter 2. | [GitHub](https://github.com/PyAutoLabs/HowToLens/tree/main/notebooks/chapter_optional) / [Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_optional/tutorial_searches.ipynb) |

Work through Chapters 1 and 2, then practise with the [workspace examples](https://github.com/PyAutoLabs/autolens_workspace#find-your-examples). Return to Chapters 3 and 4 when you need their methods.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is called strong gravitational lensing. **PyAutoLens** models strong gravit
## Explore It Yourself

- **[Start Here](https://pyautolens.readthedocs.io/en/latest/overview/overview_1_start_here.html)** — discover PyAutoLens and work through your first example.
- **[Try it in your browser](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/start_here.ipynb)** — run the introductory notebook without installing anything.
- **[Try it in your browser](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/start_here.ipynb)** — run the introductory notebook without installing anything.
- **[Install PyAutoLens](https://pyautolens.readthedocs.io/en/latest/installation/overview.html)** — get set up on your computer.

Explore more examples in the [workspace](https://github.com/PyAutoLabs/autolens_workspace), or learn lensing from the ground up with [HowToLens](https://github.com/PyAutoLabs/HowToLens).
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/overview_1_start_here.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Light from the background source galaxy is deflected by the foreground galaxies

## Using This Guide

This page gives an overview of the **PyAutoLens Python API**, including how to import `autolens`, create light and mass profiles, and perform lensing calculations. You can read through the examples here or run them in your web browser using [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/start_here.ipynb).
This page gives an overview of the **PyAutoLens Python API**, including how to import `autolens`, create light and mass profiles, and perform lensing calculations. You can read through the examples here or run them in your web browser using [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/start_here.ipynb).

If you use AI, the [PyAutoLens AI Assistant](https://github.com/PyAutoLabs/autolens_assistant) can give you an interactive walkthrough. Paste this prompt into Claude Code, Codex or another AI coding agent:

Expand Down
18 changes: 9 additions & 9 deletions docs/overview/overview_2_new_user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ Einstein radius: ~1–3″

Several galaxies share the lensing.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/multi_galaxy/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/multi_galaxy/start_here.ipynb)
:::

:::{grid-item-card} Group
Einstein radius: ~3–10″

A galaxy group lenses a background source.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/group/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/group/start_here.ipynb)
:::

:::{grid-item-card} Cluster
Einstein radius: ~10–50″

A cluster lenses many background sources.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/cluster/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/cluster/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/cluster/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/cluster/start_here.ipynb)
:::

::::
Expand All @@ -79,47 +79,47 @@ Each notebook begins with example data and introduces the relevant model and fit

Images of extended lensed sources, from telescopes such as Hubble or JWST.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/imaging/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/imaging/start_here.ipynb)
:::

:::{grid-item-card} Interferometer
![Conceptual illustration of interferometer](images/overview_2/interferometry.png)

Radio or submillimetre observations, such as ALMA visibilities.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/interferometer/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/interferometer/start_here.ipynb)
:::

:::{grid-item-card} Multi-band imaging
![Conceptual illustration of the same lens observed in three wavebands](images/overview_2/multi_wavelength.png)

The same lens observed in several wavebands. Fit the images together with a shared lens model using `multi_dataset/`.

[Notebook ](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/start_here.ipynb)·[Google Colab ](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/multi_dataset/start_here.ipynb)
[Notebook ](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/start_here.ipynb)·[Google Colab ](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/multi_dataset/start_here.ipynb)
:::

:::{grid-item-card} Data cubes
![Conceptual illustration of data cubes](images/overview_2/data_cubes.png)

Spectral-line observations across many channels, such as an ALMA CO cube.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/datacube/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/interferometer/features/datacube/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/datacube/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/interferometer/features/datacube/start_here.ipynb)
:::

:::{grid-item-card} Point sources
![Conceptual illustration of point sources](images/overview_2/point_sources.png)

Multiple images of a compact source, such as a quasar or supernova.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/point_source/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/point_source/start_here.ipynb)
:::

:::{grid-item-card} Weak lensing
![Conceptual illustration of a galaxy cluster with strong-lensing arcs near its centre and background galaxies tangentially stretched across the wider field](images/overview_2/weak_lensing.png)

Subtle shape distortions of many background galaxies, alone or combined with strong lensing.

[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/weak/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/notebooks/weak/start_here.ipynb)
[Notebook](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/weak/start_here.ipynb) · [Google Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/notebooks/weak/start_here.ipynb)
:::

::::
Expand Down
4 changes: 2 additions & 2 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ strong lenses. The API allows users to perform ray-tracing by using analytic lig
lens systems. Accompanying `PyAutoLens` is the [autolens workspace](https://github.com/PyAutoLabs/autolens_workspace), which
includes example scripts and lens datasets covering every use case. The [`HowToLens`](https://github.com/PyAutoLabs/HowToLens)
repository provides a separate Jupyter notebook lecture series which introduces non-experts to strong lensing using `PyAutoLens`. Readers can
try `PyAutoLens` right now by going to [the introduction Jupyter notebook on Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.22.1/start_here.ipynb)
try `PyAutoLens` right now by going to [the introduction Jupyter notebook on Colab](https://colab.research.google.com/github/PyAutoLabs/autolens_workspace/blob/2026.11.25.1/start_here.ipynb)
or checkout the [readthedocs](https://pyautolens.readthedocs.io/en/latest/) for a complete overview of `PyAutoLens`'s features.

# Background
Expand Down Expand Up @@ -182,7 +182,7 @@ interferometer datasets before a `PyAutoLens` analysis. The [`HowToLens`](https:
tutorials — a standalone repository separate from the workspace — are a five chapter lecture series composed of over
30 Jupyter notebooks aimed at non-experts, introducing them to strong gravitational lensing, Bayesian inference and
teaching them how to use `PyAutoLens` for their scientific study. The lectures are available on
[Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.22.1/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb)
[Colab](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.11.25.1/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb)
and may therefore be taken without a local `PyAutoLens` installation.

# Software Citations
Expand Down
Loading