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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/overview/images/overview_3/pixelization_illustration.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Pixelization conceptual illustration. Generated with OpenAI image_gen on 2026-11-12; approved by Jammy. Not observational data or a numerical lens simulation. Same image used in autolens_workspace and PyAutoLens RTD.

Generated using the built-in image_gen tool. Preview only.

Use case: scientific-educational. Make a striking premium astronomy editorial illustration, wide landscape, for PyAutoLens's Pixelization tutorial. Main heading exact "Pixelization". Subtitle exact "Recover the galaxy behind the arcs."
Dark midnight navy background, luminous cyan and turquoise source emission, small warm amber foreground lens. Three generous visual zones linked horizontally, focusing on the scientific outcome, not a technical dashboard.
Left zone labelled "Lensed arcs": a central faint amber smooth elliptical foreground galaxy encircled by several separated tangential cyan arcs with visibly repeated bright blue knots and stretched structure. It should look like a beautiful strong gravitational lens rather than a vortex.
Middle smaller zone labelled "Source-plane mesh": an irregular adaptive triangular mesh forming a disk-shaped patch, with finer cells near a bright central region and several luminous knots. Cyan reconstructed brightness fills the mesh cells and suggests curved arms. The mesh is a mathematical model in a source plane, not a physical net floating in space. Use restrained thin mesh lines so light remains visible.
Right largest zone labelled "Reconstructed source": a beautiful face-on cyan spiral galaxy with two graceful luminous arms, a compact brighter core and several warm-white star-forming knots along the arms. Rich texture but avoid invented super-resolution, crisp individual stars, or tiny artificial details. Suggest continuity with the bright knots and arms in the middle mesh. No foreground amber galaxy here.
Connector from left to middle labelled exactly "Lens mass model"; connector from middle to right labelled exactly "Reconstructed brightness". Not a beam or a literal spatial journey: a clean conceptual diagram. Below the middle zone a small unobtrusive note "Mesh + regularization". Bottom small footer exact "Conceptual illustration · not observational data".
Scientific constraints: source reconstruction depends on a lens mass model, it is not a simple unwarping filter. Different image and source planes are distinct. Show only one illustrative source, don't imply pixelization requires a spiral or reveals every detail. Sparse legible ivory labels and refined typography, no equations, axes, color bars, arbitrary numerical measurements, giant lattice covering the galaxy, decorative stars or watermarks. Overall beautiful, readable at notebook width, aesthetically coherent with an amber/cyan MGE illustration.
50 changes: 30 additions & 20 deletions docs/overview/overview_3_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,42 @@ links to the relevant workspace examples.

## Pixelizations

Pixelizations reconstruct the source galaxy's light on a pixel-grid. Unlike `LightProfile`'s, they are able to
reconstruct the light of non-symmetric, irregular and clumpy sources.
Recover the background galaxy behind the arcs. A pixelization reconstructs source light on a mesh, providing
flexibility to describe spiral arms, star-forming clumps and irregular structure without imposing a simple
analytic light profile.

**Study the background galaxy.** Pixelized reconstructions are a key tool for source science: investigating
galaxy structure and measuring properties such as intrinsic flux, size and lensing magnification. Start with
[source_science.py](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/pixelization/source_science.ipynb)
to see how to analyse the reconstructed source, calculate flux and magnification, propagate uncertainties and
export the reconstruction.

```{image} images/overview_3/pixelization_illustration.png
:alt: Conceptual illustration connecting lensed arcs through a lens mass model to a source mesh and reconstructed galaxy.
:width: 100%
```

The image below shows a pixelized source reconstruction of the strong lens SLACS1430+4105, where the source is
reconstructed on a Voronoi mesh adapted to the source morphology, revealing it to be a grand-design face on spiral
galaxy:
Conceptual illustration, not observational data. The mesh and galaxy on the right show the same source
brightness distribution; removing mesh lines adds no information. Reconstruction requires a lens mass model,
and the recoverable detail depends on the data and modelling assumptions.

```{image} https://github.com/PyAutoLabs/PyAutoLens/blob/main/files/imageaxis.png?raw=true
:alt: Alternative text
:width: 600
```
Source brightness is solved during the fit, with regularization controlling how freely neighbouring mesh pixels
can vary. This flexibility supports both source science and lens-mass modelling; it does not remove model
degeneracies or guarantee that fine structure is real.

The lens model a pixelized source composes is drawn below: the source's only sampled parameter is its
regularization coefficient, while the `reconstruction` — the surface brightness of every source pixel — is solved
for during the fit.
Read the [pixelization feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/pixelization/start_here.ipynb)
for use cases, mesh choices, regularization and worked examples.

```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/pixelization_model.png
:alt: A pixelized source lens model, whose source reconstruction is solved for during the fit.
:width: 600
```
For deeper teaching, see [the pixelization overview](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/overview/overview_5_pixelizations.ipynb)
and Chapter 3 of [HowToLens](https://github.com/PyAutoLabs/HowToLens).

A complete overview of pixelized source reconstructions can be found
at `notebooks/overview/overview_5_pixelizations.ipynb`.
The technical model below shows an example in which the source's sampled parameter is its regularization
coefficient, while the surface brightness of the source mesh is solved during the fit.

Chapter 3 of the **HowToLens** lectures describes pixelizations in detail and teaches users how they can be used to
perform lens modeling.
```{image} images/overview_3/pixelization_model.png
:alt: A pixelized source lens model whose source brightness is solved during the fit.
:width: 600
```

## Point Sources

Expand Down
Loading