Skip to content

Commit 490aad7

Browse files
authored
Merge pull request #690 from PyAutoLabs/claude/howtolens-tutorial-restructure-f19y9d
Update RTD HowToLens pages for the tutorial restructure
2 parents 3e25b4c + 8d2460d commit 490aad7

8 files changed

Lines changed: 86 additions & 71 deletions

docs/howtolens/chapter_1_introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The chapter contains the following tutorials:
1919
\- Advanced strong lens ray-tracing.
2020

2121
[Tutorial 4: Point Sources](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_1_introduction/tutorial_4_point_sources.ipynb)
22-
\- How lensing calculations when the source galaxy is a point-source (e.g. a quasar).
22+
\- How lensing calculations change when the source galaxy is a point source (e.g. a quasar).
2323

2424
[Tutorial 5: Lensing Formalism](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_1_introduction/tutorial_5_lensing_formalism.ipynb)
2525
\- The algebraic lensing formalism used to describe strong lensing.

docs/howtolens/chapter_2_lens_modeling.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Chapter 2: Lens Modeling
22

3-
In chapter 2, we'll take you through how to model strong lenses using a non-linear search.
3+
In chapter 2, we'll take you through how to model strong lenses using a non-linear search, ending with how
4+
searches are chained together into automated lens modeling pipelines.
45

56
The chapter contains the following tutorials:
67

@@ -27,3 +28,12 @@ The chapter contains the following tutorials:
2728

2829
[Tutorial 8: Need for Speed](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb)
2930
\- How to fit complex models whilst balancing efficiency and run-time.
31+
32+
[Tutorial 9: Search Chaining](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_2_lens_modeling/tutorial_9_search_chaining.ipynb)
33+
\- Breaking the lens modeling procedure into a chained sequence of model-fits.
34+
35+
[Tutorial 10: Prior Passing](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_2_lens_modeling/tutorial_10_prior_passing.ipynb)
36+
\- How the results of earlier searches are passed to later searches.
37+
38+
[Tutorial 11: SLaM](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb)
39+
\- Template pipelines for fitting lens models in standardized ways.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Chapter 3: Pixelizations
2+
3+
In chapter 3, we use **Pixelizations** to reconstruct complex source galaxies on pixelized grids.
4+
5+
The chapter contains the following tutorials:
6+
7+
[Tutorial 1: Pixelizations](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb)
8+
\- Creating a pixel-grid in the source-plane.
9+
10+
[Tutorial 2: Mappers](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_2_mappers.ipynb)
11+
\- How a pixelization maps source-pixels to image-pixels.
12+
13+
[Tutorial 3: Inversions](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_3_inversions.ipynb)
14+
\- Inverting the mappings to reconstruct the source's light.
15+
16+
[Tutorial 4: Bayesian Regularization](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_4_bayesian_regularization.ipynb)
17+
\- Smoothing the source within a Bayesian framework.
18+
19+
[Tutorial 5: Bayesian Formalism](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_5_bayesian_formalism.ipynb)
20+
\- The linear algebra and Bayesian evidence equations behind pixelized source reconstruction.
21+
22+
[Tutorial 6: Borders](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_6_borders.ipynb)
23+
\- Preventing highly demagnified image-pixels ruining the inversion.
24+
25+
[Tutorial 7: Lens Modeling](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_7_lens_modeling.ipynb)
26+
\- How to use inversions to fit a lens model.
27+
28+
[Tutorial 8: Adaptive Pixelization](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_8_adaptive_pixelization.ipynb)
29+
\- A Delaunay mesh which adapts to the mass model's magnification.
30+
31+
[Tutorial 9: Model Fit](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb)
32+
\- An example lens modeling pipeline which uses an inversion.
33+
34+
[Tutorial 10: Fit Problems](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_10_fit_problems.ipynb)
35+
\- The shortcomings of our lens models and inversions.
36+
37+
[Tutorial 11: Brightness Adaption](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_11_brightness_adaption.ipynb)
38+
\- Adapting the pixelization to the source's morphology.
39+
40+
[Tutorial 12: Adaptive Regularization](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_3_pixelizations/tutorial_12_adaptive_regularization.ipynb)
41+
\- Adapting the regularization to the source's morphology.

docs/howtolens/chapter_3_search_chaining.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/howtolens/chapter_4_pixelizations.md

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Chapter 4: Scaling Up Lensing
2+
3+
In chapter 4, we scale lens modeling up beyond a single lens galaxy: extra galaxies, multi-galaxy lenses,
4+
scaling relations, group and cluster scales, and weak lensing.
5+
6+
The chapter contains the following tutorials:
7+
8+
[Tutorial 1: Extra Galaxies](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb)
9+
\- Handling nearby galaxies by scaling their light out of the fit or modeling them explicitly.
10+
11+
[Tutorial 2: Multi Galaxy](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_2_multi_galaxy.ipynb)
12+
\- Modeling lenses with two or more co-dominant lens galaxies and the degeneracies this creates.
13+
14+
[Tutorial 3: Scaling Relation](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_3_scaling_relation.ipynb)
15+
\- Tying galaxy masses to their luminosities so model complexity stops growing with each galaxy.
16+
17+
[Tutorial 4: Group Scale](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_4_group_scale.ipynb)
18+
\- Modeling group-scale lenses with truncated dPIE members and an optional group dark matter halo.
19+
20+
[Tutorial 5: Cluster Scale](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb)
21+
\- Modeling cluster-scale lenses with point-source positions, the CSV interface and multi-plane ray tracing.
22+
23+
[Tutorial 6: Weak Lensing](https://colab.research.google.com/github/PyAutoLabs/HowToLens/blob/2026.8.4.1/notebooks/chapter_4_scaling_up_lensing/tutorial_6_weak_lensing.ipynb)
24+
\- Fitting weak-lensing shear catalogues, which probe mass far beyond the strong lensing region.

docs/howtolens/howtolens.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ The best way to learn **PyAutoLens** is by going through the **HowToLens** lectu
66
repository at [PyAutoLabs/HowToLens](https://github.com/PyAutoLabs/HowToLens).
77

88
The lectures are provided as Jupyter notebooks (and Python scripts), and they are linked to via this readthedocs. The
9-
lectures are composed of five chapters
9+
lectures are composed of four chapters
1010

1111
- **Introduction** - An introduction to strong gravitational lensing and **PyAutolens**.
12-
- **Lens Modeling** - How to model strong lenses, including a primer on Bayesian non-linear analysis.
13-
- **Search Chaining** - How to fit complex lens models using non-linear search chaining.
12+
- **Lens Modeling** - How to model strong lenses, including a primer on Bayesian non-linear analysis and
13+
non-linear search chaining.
1414
- **Pixelizations** - How to perform pixelized reconstructions of the source-galaxy.
15+
- **Scaling Up Lensing** - Extra galaxies, multi-galaxy lenses, scaling relations, group and cluster
16+
scales, and weak lensing.
1517

1618
## How to Tackle HowToLens
1719

18-
The HowToLens lecture series currently sits at 5 chapters, and each will take around 3-6 hours to go through thoroughly.
20+
The HowToLens lecture series currently sits at 4 chapters, and each will take around 3-6 hours to go through thoroughly.
1921
You probably want to be modeling lenses faster than that! Furthermore, the concepts in the
2022
later chapters are pretty challenging, and familiarity and lens modeling is desirable before you
2123
tackle them.
@@ -24,7 +26,7 @@ Therefore, we recommend that you complete chapters 1 & 2 and then apply what you
2426
and real strong lenses imaging, using the scripts found in the
2527
[autolens_workspace](https://github.com/PyAutoLabs/autolens_workspace) `modeling` packages. Once you're
2628
confident with your use of **PyAutoLens**, you can then begin to cover the advanced functionality covered in chapters
27-
3, 4 & 5.
29+
3 & 4.
2830

2931
## Lensing Theory
3032

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ general/credits
249249
howtolens/howtolens
250250
howtolens/chapter_1_introduction
251251
howtolens/chapter_2_lens_modeling
252-
howtolens/chapter_3_search_chaining
253-
howtolens/chapter_4_pixelizations
252+
howtolens/chapter_3_pixelizations
253+
howtolens/chapter_4_scaling_up_lensing
254254
howtolens/chapter_optional
255255
```
256256

0 commit comments

Comments
 (0)