diff --git a/docs/_static/pyautolens.css b/docs/_static/pyautolens.css index 636c09dcd..7ec8cb5e9 100644 --- a/docs/_static/pyautolens.css +++ b/docs/_static/pyautolens.css @@ -57,3 +57,15 @@ background-color: var(--color-background-hover); color: var(--color-brand-content); } + +/* Feature overview: compact gallery and readable capability rows. */ +.feature-gallery { width: 100%; table-layout: fixed; border-collapse: collapse; } +.feature-gallery td { padding: 8px; vertical-align: top; font-size: .9rem; } +.feature-gallery img { width: 100%; height: 145px; object-fit: contain; background: #071322; border-radius: 5px; } +.feature-entry { padding: 12px 0; border-bottom: 1px solid #dce5ec; } +.feature-entry h3 { font-size: 1.1rem; margin: 0 0 6px; } +.feature-entry p { margin: 0 0 8px; } +.feature-more-images { margin: 12px 0 24px; } +.feature-more-images summary, .directory summary { cursor: pointer; padding: 8px 0; } +.directory { padding: 15px 20px; border: 1px solid #dce5ec; border-radius: 6px; } +@media (max-width: 600px) { .feature-gallery tr { display: flex; flex-wrap: wrap; } .feature-gallery td { width: 50%; } .feature-gallery img { height: 110px; } } diff --git a/docs/overview/images/overview_2/data_cubes.png b/docs/overview/images/overview_2/data_cubes.png new file mode 100644 index 000000000..1e10047f8 Binary files /dev/null and b/docs/overview/images/overview_2/data_cubes.png differ diff --git a/docs/overview/images/overview_2/feature_dataset_illustrations.txt b/docs/overview/images/overview_2/feature_dataset_illustrations.txt new file mode 100644 index 000000000..533df122c --- /dev/null +++ b/docs/overview/images/overview_2/feature_dataset_illustrations.txt @@ -0,0 +1,5 @@ +AI-generated conceptual illustrations, approved for overview review on 2026-11-12. Not observational or simulated data. +point_sources +interferometry +data_cubes +multi_wavelength diff --git a/docs/overview/images/overview_2/interferometry.png b/docs/overview/images/overview_2/interferometry.png new file mode 100644 index 000000000..4e41fcba9 Binary files /dev/null and b/docs/overview/images/overview_2/interferometry.png differ diff --git a/docs/overview/images/overview_2/multi_wavelength.png b/docs/overview/images/overview_2/multi_wavelength.png new file mode 100644 index 000000000..db8c5490c Binary files /dev/null and b/docs/overview/images/overview_2/multi_wavelength.png differ diff --git a/docs/overview/images/overview_2/point_sources.png b/docs/overview/images/overview_2/point_sources.png new file mode 100644 index 000000000..2ff87138c Binary files /dev/null and b/docs/overview/images/overview_2/point_sources.png differ diff --git a/docs/overview/overview_2_new_user_guide.md b/docs/overview/overview_2_new_user_guide.md index 3512dffba..f451e7ac5 100644 --- a/docs/overview/overview_2_new_user_guide.md +++ b/docs/overview/overview_2_new_user_guide.md @@ -62,6 +62,8 @@ Many member galaxies lens multiple background sources at different redshifts. Th ## What dataset type? +The illustrations below are conceptual, not observations; telescope and sky scales are schematic. + For galaxy-scale lenses, choose the example for your observations. For multi-galaxy, group or cluster systems, begin with the scale-specific guide above. ![Four conceptual dataset representations: a pixelated lensed image, samples in the interferometer u–v plane, stacked spectral-channel images, and four compact quasar images around a lens galaxy.](images/overview_2/dataset_types.png) @@ -79,18 +81,24 @@ Images from telescopes such as Hubble or JWST. Fit the lens light, mass and exte ::: :::{grid-item-card} Interferometer +![Conceptual illustration of interferometer](images/overview_2/interferometry.png) + Radio or submillimetre observations, such as ALMA data. Fit the measured visibilities directly. [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.12.1/notebooks/interferometer/start_here.ipynb) ::: :::{grid-item-card} Data cubes +![Conceptual illustration of data cubes](images/overview_2/data_cubes.png) + Spectral-line channels, such as an ALMA CO cube. Fit the channels together with a shared lens model. [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.12.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. Start with the point-source example. [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.12.1/notebooks/point_source/start_here.ipynb) diff --git a/docs/overview/overview_3_features.md b/docs/overview/overview_3_features.md index 9c8e51ee3..e3017ae5e 100644 --- a/docs/overview/overview_3_features.md +++ b/docs/overview/overview_3_features.md @@ -2,734 +2,125 @@ # Features -This page provides an overview of the advanced features of **PyAutoLens**. + -Firstly, brief one sentence descriptions of each feature are given, with more detailed descriptions below including -links to the relevant workspace examples. +Explore the modelling tools you can add to your analysis. Each introduction explains the scientific use cases and links to worked examples. -**Pixelizations**: Reconstructing the source galaxy on a mesh of pixels, to capture extremely irregular structures like spiral arms. +For your first dataset and starting notebook, use the [New User Guide](https://autolens.readthedocs.io/en/latest/overview/overview_2_new_user_guide.html). -**Point Sources**: Modeling point sources (e.g. quasars) observed in the strong lens imaging data. + -**Interferometry**: Modeling of interferometer data (e.g. ALMA, LOFAR) directly in the uv-plane. +*Conceptual illustrations, not measured data or guaranteed reconstructions.* -**Data Cubes**: Modeling spectral-line data cubes (e.g. ALMA CO cubes), fitting every channel simultaneously with a shared lens model. +
More feature illustrations
-**No Lens Light**: Fit lens mass and source emission when foreground light is negligible or already subtracted. +## Reconstruct the source -**Linear Light Profiles**: Solve component brightnesses at each likelihood evaluation instead of sampling them. +

Pixelizations

Reconstruct the background galaxy on a mesh to study spiral arms, star-forming clumps and irregular structure. Pixelization is a key tool for source science: measuring intrinsic flux, size and magnification alongside the lens mass.

+

Start with pixelization.

+
-**Multi Gaussian Expansion (MGE)**: Flexible models for foreground lens light and the background source. +

Multi Gaussian Expansion (MGE)

Model foreground lens light that overlaps the arcs, or reconstruct a flexible smooth source, using a sum of Gaussians. An MGE captures changes in shape with radius while solving component brightnesses together. Source examples include flux and magnification measurements.

+

Explore multi gaussian expansion (mge).

+
-**Groups**: Modeling group-scale strong lenses with multiple lens galaxies and multiple source galaxies. +

Shapelets

Study source morphology or flexible foreground light with a sum of spatial basis functions. Shapelets capture structure beyond a simple smooth profile while retaining a compact description of the basis geometry. Inspect the combined light and residuals as you increase flexibility.

+

Explore shapelets.

+
-**Multi-Wavelength**: Simultaneous analysis of imaging and / or interferometer datasets observed at different wavelengths. +## Model foreground light and neighbours -**Ellipse Fitting**: Fitting ellipses to determine a lens galaxy's ellipticity, position angle and centre. +

Linear Light Profiles

Fit models with many light components using fewer sampled parameters. Component brightnesses are solved together at each likelihood evaluation, leaving the search to explore geometry and lens mass. Useful for lens light, source light and MGE models; solved brightnesses change with the model.

+

Explore linear light profiles.

+
-**Shapelets**: Decomposing a galaxy into a set of shapelet orthogonal basis functions, capturing more complex structures than simple light profiles. +

Extra Galaxies

Account for neighbours whose light blends with the arcs or whose gravity changes the lensing. Choose a light model, mass model or both for each companion. Masking its emission does not remove its gravitational effect.

+

Explore extra galaxies.

+
-**Scaling Relations**: Include companion populations through a shared luminosity–mass prescription. +

No Lens Light

Fit the lens mass and source when foreground light is negligible or has already been subtracted. The lens still deflects light. For subtracted images, check how residuals and subtraction uncertainty affect the result.

+

Explore no lens light.

+
-**Operated Light Profiles**: Describe compact emission that already includes the PSF, alongside extended galaxy light. +

Operated Light Profiles

Separate compact emission from extended galaxy light using a component that already includes the imaging PSF response. The surrounding galaxy still receives its appropriate instrumental response. Interferometer examples instead transform the compact sky emission into visibilities.

+

Explore operated light profiles.

+
-**Sky Background**: Fit uncertain sky levels alongside faint galaxy outskirts and lensed source light. +

Sky Background

Fit an uncertain sky level alongside faint lens light and arcs. This helps distinguish galaxy outskirts from residual background, while keeping sky photon noise in the noise model. The example fits a constant level.

+

Explore sky background.

+
-## Pixelizations +**Advanced: ellipse fitting.** Measure foreground-light shape with the [ellipse introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/ellipse/start_here.ipynb), then follow the maintained PyAutoGalaxy examples. -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. +## Measure lens mass -**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. +

Mass Models

Test how the assumed mass distribution affects the inferred lens and source. Choose total-mass profiles or separate stellar and dark components, and use multipoles to explore departures from elliptical symmetry. Angular structure can otherwise resemble a substructure signal.

+

Explore mass models.

+
-```{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% -``` +

Stellar + Dark Matter

Measure how stars and dark matter contribute to a lens galaxy’s mass. Combine a stellar component tied to observed light with a separate halo to infer mass-to-light ratios and aperture masses. Lensing measures their combined gravity, so the split depends on the model and priors.

+

Explore stellar + dark matter.

+
-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. +

Scaling Relations

Include a population of companion galaxies without fitting every mass independently. Tie mass normalizations to measured luminosities through a shared relation, while giving influential companions more freedom. The tied masses depend on that population assumption.

+

Explore scaling relations.

+
-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. +

Multi-Galaxy Lenses, Groups and Clusters

Model systems with several deflectors: multi-galaxy lenses have co-dominant galaxies; groups can include a shared halo; clusters use multiple-image positions from many sources. Choose the scale and observables that match your data.

+

Explore multi-galaxy lenses, groups and clusters.

+
-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. +

Double Source-Plane Lenses

Use two background galaxies at different redshifts to probe lens mass and reconstruct both sources. Their geometry can also constrain cosmological distance ratios. Multi-plane modelling includes the nearer source’s deflection of the farther one; the introductory fit keeps cosmology fixed.

+

Explore double source-plane lenses.

+
-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). +

Weak Lensing

Constrain mass across a wider field using the coherent shape distortions of background galaxies. Fit shear catalogues alone or combine them with central strong-lensing constraints, preserving each dataset’s uncertainties and source-redshift information.

+

Explore weak lensing.

+
-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. +## Probe dark matter and build analyses -```{image} images/overview_3/pixelization_model.png -:alt: A pixelized source lens model whose source brightness is solved during the fit. -:width: 600 -``` +

Dark Matter Subhalos

Search for unseen halos through their perturbations to lensed arcs. Compare fits with and without a halo to identify candidates and infer their properties. Check candidates against lens-model flexibility and systematics, then use sensitivity mapping to interpret both detections and non-detections.

+

Explore dark matter subhalos.

+

Continue to subhalo detection for the search workflow.

+
-## Point Sources +

Line-of-Sight Halos

Simulate the combined effect of a halo population between observer and source. Multi-plane ray tracing includes halos in front of and behind the main lens, providing mock images for dark matter studies and tests of lens-redshift assumptions. These examples generate simulations, not population-inference results.

+

Explore line-of-sight halos.

+
-Use compact lensed images to constrain the lens mass from measured positions and, where appropriate, -fluxes and time delays. Quasars and supernovae are important examples; the measurements and their -uncertainties must be prepared before the point-source lens fit. +

Sensitivity Mapping

Measure which halos your data and modelling procedure could detect. Inject a halo into simulated data, fit with and without it, and repeat across positions or masses. This calibrates non-detections as well as detections; the introductory example uses four positions at one injected mass.

+

Explore sensitivity mapping.

+
-There are many lenses where the background source is not extended but is instead a point-source, for example strongly -lensed quasars and supernovae. +

Potential Correction

Investigate arc residuals by reconstructing small corrections to a smooth lensing potential alongside the source. This gravitational-imaging approach locates candidate mass structure without first choosing a halo profile. A reconstructed feature still needs physical modelling and systematic checks.

+

Explore potential correction.

+
-For these objects, we do not want to model the source using a light profile, which implicitly assumes an extended -surface brightness distribution. +

Automated Pipelines / SLaM

Build complex lens models through a sequence of simpler fits. The Source, Light and Mass pipelines use earlier results to initialize later searches, progressively refining the source, foreground light and mass model.

+

Explore automated pipelines / slam.

+
-Instead, we assume that our source is a point source with a centre (y,x), and ray-trace triangles at iteratively -higher resolutions to determine the source's exact locations in the image-plane: +

Graphical Models

Study populations of lenses by fitting datasets with shared parameters. Hierarchical models infer a population distribution while retaining an individual model for each lens—for example, a distribution of mass slopes or a common Hubble constant.

+

Explore graphical models.

+
-```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_0.png -:alt: Alternative text -:width: 400 -``` +## Extend the analysis across observations -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_1.png -:alt: Alternative text -:width: 400 -``` +

Point Sources

Add flux and time-delay constraints to a point-source lens model, or deblend compact images from foreground light before measuring them.

+

Point-source examples.

+
-```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_2.png -:alt: Alternative text -:width: 400 -``` +

Interferometry

Extend radio and submillimetre modelling with flexible source light, pixelized reconstructions and source-science measurements while fitting the visibilities.

+

Interferometer features.

+
-```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_3.png -:alt: Alternative text -:width: 400 -``` +

Data Cubes

Map a lensed source across a spectral line by reconstructing each channel with a shared lens model. Each channel keeps its own brightness, sampling and noise. These examples reconstruct emission; a dynamical interpretation needs an additional model.

+

Explore data cubes.

+
-```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_4.png -:alt: Alternative text -:width: 400 -``` +

Multi-Wavelength

Compare stellar, dust and line emission across observations while fitting a shared lens model. Keep each dataset’s brightness distribution, instrumental response and noise distinct; link only the parameters your scientific model shares.

+

Explore multi-wavelength.

+
-The lens model this composes is drawn below: the source galaxy carries a single `al.ps.Point` component whose -`centre` is a sampled two-dimensional parameter. (Using `al.ps.PointSolved` instead solves that centre analytically -rather than sampling it.) - -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/point_model.png -:alt: A point-source lens model, with an isothermal lens and a point source whose centre is sampled. -:width: 600 -``` - -Note that the image positions above include the fifth central image of the strong lens, which is often not seen in -strong lens imaging data. It is easy to disable this image in the point source modeling. - -Checkout the `autolens_workspace/*/point_source` package to get started. - -For blended observations, start with [deblending](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/features/deblending/start_here.ipynb): fit the compact images and foreground galaxy light together to measure positions and fluxes. -This step fits an imaging dataset, then supplies observables for the point-source lens analysis. - -![Compact images blended with foreground light, with fitted image centres indicated](images/overview_3/deblending.png) - -Conceptual illustration: the markers indicate measured centres, not improved angular resolution or PSF removal. - - -## Interferometry - -Reconstruct the emission of lensed sources observed with submillimeter and radio interferometers, such as ALMA -and LOFAR. Fit the measured complex visibilities to study source morphology and constrain the deflecting mass: - -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoGalaxy/main/paper/almacombined.png -:alt: Alternative text -:width: 600 -``` - -Visibilities data is fitted directly in the uv-plane, circumventing issues that arise when fitting a dirty image -such as correlated noise. This uses the non-uniform fast fourier transform algorithm -\[nufftax\]() to efficiently map the galaxy model images to the uv-plane. - -Checkout the `autolens_workspace/*/interferometer` package to get started. - -For source science, start with [pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/pixelization/start_here.ipynb) or [multi-Gaussian expansion](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/multi_gaussian_expansion/start_here.ipynb). -Their introductions link to source_science.py and explain the reconstruction choices. The likelihood fits -visibilities; a dirty image is a visualization of those data, not the fitted image-plane dataset. - - -## Data Cubes - -Study how a lensed source's emission changes across a spectral line by reconstructing its individual channels -with one shared lens mass model. The resulting channel maps support source science, including the spatial -structure of line emission; a dynamical interpretation requires additional modeling. - -![Imaging, interferometer sampling, spectral channels and point-source data](images/overview_2/dataset_types.png) - -Reused new-user-guide schematic, not measured data. The interferometer panel shows sampling locations; -cube slices represent spectral channels. - -The example combines one Interferometer dataset and source reconstruction per channel. It shares the lens -parameters and prepares the sparse operator for each channel; it does not fit a dynamical model or assume -that every channel has identical sampling and noise. - -Read the [datacube introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/datacube/start_here.ipynb) for the channel-by-channel construction, -regularization and data-preparation route. Keep channels, coordinates and uncertainty conventions aligned. - - -## No Lens Light - -Model the lens mass and reconstruct the background source when foreground emission is negligible in the -observed band or has already been subtracted. The foreground light profile is omitted, while the mass and its -gravitational deflection remain part of the model. - -Use this feature for foreground-faint observations, prepared lens-light-subtracted imaging and source science. -Separate subtraction can remove source flux or leave foreground residuals; supplying the subtracted image alone -does not propagate uncertainty in that subtraction. Check how the preparation affects the inferred lens and source. - -![Lens-light-free imaging with the deflecting mass retained](images/overview_3/no_lens_light.png) - -Conceptual illustration: the dashed contours represent an assumed mass model, not visible emission or a measured mass map. - -The [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/no_lens_light/start_here.ipynb) explains absent versus subtracted light, the remaining mass/source model, -computational trade-offs and the modeling, simulator and SLaM routes. - -## Linear Light Profiles - -Linear light profiles remove component intensities from the parameters sampled by the non-linear search. -Instead, their best-fitting values are solved together at every likelihood evaluation, conditional on the -current light-profile shapes and lens model. Solved does not mean fixed: brightnesses change as the model changes. - -Use them for foreground lens light, parametric source light and models with many components, such as a -multi-Gaussian expansion. The smaller non-linear search can improve fitting efficiency, although physical -degeneracies remain and the extra linear calculation means there is no universal speed-up. - -![Brightness sampled versus brightness solved](images/overview_3/linear_light_profiles.png) - -Conceptual illustration, not measured likelihood surfaces or a timing benchmark. - -The [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/linear_light_profiles/start_here.ipynb) explains the non-negative intensity solve, conditional best-fit intensities, -computational trade-offs and how to inspect the fitted components. - -## Multi Gaussian Expansion (MGE) - -An MGE models a galaxy's light as a sum of Gaussians. In strong lensing, use it to model foreground lens light -that overlaps the arcs, or to describe the background source whose light is distorted by the lens mass model. - -```{image} images/overview_3/mge_illustration.png -:alt: Illustration separating amber foreground lens light from cyan arcs, connected to the source by a lens mass model. -:width: 100% -``` - -Illustration, not observational data. Amber represents foreground lens light; cyan represents source light. -The lens mass model connects the source to its arcs. Gaussian components are mathematical building blocks, -not separate galaxies; the components are fitted jointly. - -An MGE can capture changes in a galaxy's shape with radius that a single simple light profile misses. Its -Gaussian intensities are solved by linear algebra during fitting, rather than all being sampled separately. -This also provides a flexible smooth source model for measuring source flux and magnification. - -[He et al. (2024)](https://arxiv.org/abs/2403.16253) demonstrate MGE lens-light modelling on 38 HST SLACS lenses, -combined with a pixelized source reconstruction. The workspace also includes examples using an MGE source. - -MGEs can additionally connect stellar mass models to observed light, describe compact emission alongside its -host galaxy, and support deprojection of galaxy light from two dimensions to three, with appropriate assumptions. - -Read the [MGE feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/multi_gaussian_expansion/start_here.ipynb) -for the scientific use cases, detailed teaching and worked examples. - -For a technical view, the model below contains two bases of 30 Gaussians each. Their intensity parameters -are solved by the inversion rather than sampled. - -```{image} images/overview_3/mge_model.png -:alt: An MGE lens model composed of two bases of thirty Gaussian components. -:width: 600 -``` - -## Extra Galaxies - -Nearby galaxies contribute both light and gravity. Their emission can blend with lensed arcs, while their -mass can change the deflection of the background source. The `extra_galaxies` feature accounts for these -neighbours when reconstructing the source and inferring the main lens's mass distribution. - -Use it to model companions overlapping the arcs, test the influence of nearby visible mass, and investigate -whether neighbouring structure explains an apparent lensing anomaly. For source science, separating these -contributions helps avoid interpreting foreground emission as a bright source clump. - -![Extra galaxies contribute overlapping light and additional deflection](images/overview_3/extra_galaxies.png) - -*Conceptual illustration, not a fitted dataset or numerical prediction. Both panels emphasize different -contributions of the same neighbours; light and gravity act together. Dashed arcs are schematic references -for the main lens alone.* - -Decide separately whether each neighbour needs a light model, a mass model, or both. Masking its visible -emission does not remove its gravitational effect. The examples compare downweighting contaminated pixels -with explicitly fitting neighbouring light and mass, using measured centres to constrain the extra profiles. - -Start with the [Extra Galaxies introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/extra_galaxies/start_here.ipynb) -for noise scaling, overlapping components, centre constraints and the staged SLaM workflow. This folder -focuses on a main galaxy-scale lens with a few neighbours; the multi-galaxy, group and cluster workflows -address larger systems and different mass configurations. - -## Scaling Relations - -Account for the collective gravitational contribution of companion galaxies when the data cannot constrain -every companion mass independently. Scaling relations tie their mass normalizations to measured luminosities, -reducing the search space through a shared population assumption. - -The galaxy-scale example gives influential companions individual mass freedom and ties a fainter population -to the main lens's Einstein radius through a fixed luminosity relation. That tied tier adds no independent -mass parameters in this recipe; its masses are predictions of the assumed relation, not individual detections. - -![Galaxy luminosities inform a shared population mass model](images/overview_3/scaling_relation.png) - -Conceptual illustration: the mass symbols are neither visible dark matter nor measured halo boundaries. - -The [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/scaling_relation/start_here.ipynb) explains the two companion tiers, the main-lens anchor, luminosity inputs, -scatter assumptions and the different normalization used in the group and cluster example. - -## Multi-Galaxy Lenses, Groups and Clusters - -The strong lenses we've discussed so far have just a single lens galaxy responsible for the lensing. Above that -scale, **PyAutoLens** organises lenses into a ladder of three regimes (see the New User Guide for the full -routing): *multi-galaxy* lenses have two or more co-dominant lens galaxies and no shared dark-matter halo -(`autolens_workspace/*/multi_galaxy`); *group-scale* lenses add a group dark-matter halo as an explicit modelling -choice, with fainter members on scaling relations; and *cluster-scale* lenses keep the group's mass framework but -switch the analysis to point-source multiple-image positions of many sources. The image below shows a group-scale -system, where multiple lens galaxies deflect one or more background sources: - -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/group.png -:alt: Alternative text -:width: 600 -``` - -**PyAutoLens** has built in tools for modeling group-scale lenses, with no limit on the number of -lens and source galaxies! - -Overviews of group and analysis are given in `notebooks/overview/overview_9_groups.ipynb` -The `autolens_workspace/*/group` package has example scripts for simulating datasets and lens modeling. - -To investigate a shared halo, compare the member-only and member-plus-halo models in the [group halo introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/group_halo/start_here.ipynb). The simulated example contains a group halo; this does not establish that every group needs one. - -![Member galaxies alone and the same galaxies with a shared group halo](images/overview_3/group_halo.png) - -Conceptual illustration: the shared contour represents a model mass component, not visible emission. - - -## Multi-Wavelength - -Compare the source's stellar, dust or line emission across observations while fitting a shared lens model. -Joint datasets can constrain different components of the source and lens; their brightness distributions, -instrumental responses and noise remain dataset-specific. - -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/g_image.png -:alt: Alternative text -:width: 600 -``` - -```{image} https://raw.githubusercontent.com/PyAutoLabs/PyAutoLens/main/docs/overview/images/overview_3/r_image.png -:alt: Alternative text -:width: 600 -``` - -The appearance of the source changes with wavelength, so multi-wavelength analysis can teach us -more about the different components in a galaxy (e.g a redder bulge and bluer disk) or when imaging and interferometer -data are combined, we can compare the emission from stars and dust. - -Checkout the `autolens_workspace/*/multi_dataset` package to get started, however combining datasets is a more advanced -feature and it is recommended you first get to grips with the core API. - -Choose [wavelength dependence](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/wavelength_dependence/start_here.ipynb) for explicit wavelength-linked profiles, [imaging and interferometer](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/imaging_and_interferometer/start_here.ipynb) for complementary emission, or [imaging and point source](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/imaging_and_point_source/start_here.ipynb) to combine extended-image constraints with compact-image observables. The latter example includes time delays; -cosmographic interpretation needs additional assumptions. For multi-band source science, see [pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/pixelization/start_here.ipynb). - - -#Ellipse fitting is an [advanced imaging feature](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/ellipse/start_here.ipynb) for measuring the foreground galaxy's -light shape and asymmetry, with worked examples maintained in PyAutoGalaxy. - -## Shapelets - -Shapelets provide a flexible model of galaxy light beyond a single smooth profile. A key application is -source science: reconstructing the resolved morphology of a background galaxy from its lensed images. -They can also model foreground light and help test how the chosen light representation affects a lens fit. - -[Birrer, Amara & Refregier (2015)](https://arxiv.org/abs/1504.07629) demonstrate lens modelling with basis -sets on RX J1131-1231. This illustrates the method rather than a PyAutoLens application. - -![Shapelet basis building blocks and an illustrative source model](images/overview_3/shapelets_illustration.png) - -*Conceptual illustration, not a fitted reconstruction or the exact sum of the displayed modes.* - -Shapelets combine localized mathematical basis functions with linearly solved coefficients. The basis -order, scale and shared geometry control the structures a finite expansion can describe. Signed coefficients -are valid mathematical weights; negative brightness in the combined galaxy model is the physical concern. -Inspect the reconstructed light and residuals together, and test whether added flexibility follows signal -rather than noise. - -The existing grid below shows individual polar basis functions. These patterns are mathematical building -blocks, not separate physical components of a galaxy: - -![Individual polar shapelet basis functions](images/overview_3/shapelets.png) - -Start with the [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/shapelets/start_here.ipynb) -for scientific uses, basis construction, signed coefficients and limitations. The fit.py and modeling.py -examples show fixed-model fits, non-linear fitting, and alternative source and lens-light constructions. - -## Operated Light Profiles - -Separate compact nuclear emission from extended lens-galaxy light using a profile that already describes -the observed, PSF-blurred component. Ordinary extended lens and source profiles still undergo PSF convolution; -the operated component is not convolved a second time. - -The example uses an operated Gaussian at the foreground lens centre. Its suitability depends on how well -that shape describes the observed compact light: it does not automatically reproduce the telescope PSF or -recover intrinsic structure below the resolution limit. - -![Telescope PSF and a component that already includes it](images/overview_3/operated_light_profile.png) - -Conceptual illustration of including the PSF once, not improving angular resolution. - -The [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/operated_light_profile/start_here.ipynb) explains nucleus–host decomposition, PSF mismatch, sampling and the -distinction between operated profiles and solving their intensities linearly. - -## Sky Background - -Fit the sky background alongside the lens and source light so that an uncertain background level is not -mistaken for faint galaxy emission. This is especially useful for measuring extended galaxy outskirts, -accounting for residual sky subtraction offsets, or fitting images with a retained background level. - -The example fits one spatially constant sky level. A flexible galaxy model and the sky can absorb each other's -light, so the mask, field of view and prior matter. Fitting the mean sky level does not remove sky photon noise. - -![Galaxy light and a separately fitted sky level](images/overview_3/sky_background.png) - -Conceptual illustration: the separated layers describe additive model components, not physical planes along the line of sight. - -The [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/sky_background/start_here.ipynb) explains sky–galaxy degeneracy, the simulator's retained background, prior -choice and the distinction between uncertainty in the mean level and pixel noise. - -## Mass Models - -The examples above model the lens's mass with an isothermal profile, but **PyAutoLens** supports a wide -range of mass models: - -Total mass profiles (e.g. the isothermal and power-law) represent the combined mass of the lens galaxy -with a single profile. Stellar + dark matter models, introduced below, separate these contributions. - -Multipole perturbations (m=1, m=3 and m=4) extend any mass model with departures from elliptical symmetry, capturing -lopsidedness, boxiness / disciness and bar-like structures in the mass distribution. Accounting for this angular -complexity is critical for many science cases, as unmodeled angular structure can masquerade as other signals, -for example dark matter substructure. - -The following paper measures angular mass complexity alongside dark matter substructure in JWST -strong lens imaging: - -The role of the m=1 multipole (lopsidedness) is detailed in: - -Checkout `autolens_workspace/scripts/guides/profiles` for the full range of mass profiles. - -## Stellar + Dark Matter - -How much of a lens galaxy's mass is in stars, and how much is dark matter? Decomposed mass models combine -the galaxy's observed light with strong lensing to infer stellar mass-to-light ratios, estimate stellar and -dark matter masses within a chosen aperture, and investigate their relative distributions. - -The stellar mass follows a light model with a mass-to-light ratio; a separate halo, often described by an -NFW profile, supplies the dark matter component. Lensing responds to their combined gravity. The inferred -split therefore depends on the adopted light model, mass-to-light prescription, halo model and priors. - -[Nightingale et al. (2019)](https://arxiv.org/abs/1901.07801) used PyAutoLens to investigate stellar structures -and inner dark matter halos in massive elliptical galaxies with this approach. - -![Observed lens light and inferred stellar plus dark matter components](images/overview_3/stellar_dark_illustration.png) - -The image is a conceptual illustration, not a measured decomposition. The observed arcs belong to the -background source; the mass components describe the foreground lens galaxy. - -Start with the [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/mass_stellar_dark/start_here.ipynb) -for the science and modelling assumptions. The basic modeling example uses priors near the simulated truth; -chaining.py and slam.py demonstrate staged fits that initialize the stellar mass model from lens-light fits. - - -## Double Source-Plane Lenses - -A double source-plane lens contains two background galaxies at different redshifts behind a foreground lens. -Their different lensing geometries let us investigate cosmological distance ratios, probe the lens mass -with two sets of arcs, and reconstruct both background galaxies for source science. - -The nearer source also acts as an additional deflector for the farther source. A multi-plane model therefore -tracks both its light and its mass, using the galaxies' redshifts and the adopted cosmology to calculate the -appropriate deflections for each source. - -[Collett & Auger (2014)](https://arxiv.org/abs/1403.5278) demonstrate the cosmological application using the -Jackpot lens, SDSS J0946+1006. Cosmological inference remains coupled to mass-model assumptions; the basic -modeling.py tutorial here fixes the cosmology and does not itself measure cosmological parameters. - -![Two sets of lensed arcs and the three redshift planes that produce them](images/overview_3/double_source_plane_illustration.png) - -*Conceptual illustration, not a ray-traced prediction. Colours distinguish the two sources. Double -source-plane lenses can form incomplete arcs or multiple images, rather than two complete rings.* - -Start with the [feature introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/double_source_plane_lens/start_here.ipynb) -for geometry, scientific uses and inference limitations. The basic modeling example initializes priors near -the simulated truth; chaining.py and slam.py demonstrate staged fits, including the nearer source's role as -an additional lens. - - -## Automated Pipelines / SLaM - -Fitting complex lens models (e.g. a decomposed mass model with a pixelized source) in one non-linear search is -often infeasible: the parameter space is too complex for the fit to converge reliably or efficiently. - -Search chaining breaks the fit into a sequence of simpler searches, where the results of each search initialize -the model of the next. The Source, Light and Mass (SLaM) pipelines are **PyAutoLens**'s pre-built implementation -of this approach: they first build a robust model of the source, then the lens's light, and finally its mass, -gradually increasing model complexity. The SLaM pipelines have been used in many published **PyAutoLens** analyses -and are the recommended way to perform detailed lens modeling of large samples. - -Checkout `autolens_workspace/*/guides/modeling/slam_start_here.py` to get started with the SLaM pipelines. - -## Dark Matter Subhalos - -Small dark matter halos can perturb the shapes of lensed arcs even when they contain too little starlight to -be seen directly. **PyAutoLens** searches for these otherwise invisible structures by fitting lens models with -and without an additional halo, comparing their Bayesian evidence and inferring the candidate's position and mass -under the adopted halo model. - -Use this feature to search for candidate subhalos, investigate arc anomalies, and build detection results for -population studies of dark matter. Pair it with **sensitivity mapping**: simulated halos of different masses and -positions establish what a dataset could detect, making non-detections scientifically informative too. - -![An invisible subhalo perturbs a lensed arc](images/overview_3/subhalo_detection_illustration.png) - -*Conceptual illustration, not observational data. The distortion is exaggerated for clarity; the dashed marker -represents an inferred halo position, not light emitted by dark matter.* - -An evidence increase is conditional on the lens and source models being compared. Candidates require checks of -the main lens mass distribution, source reconstruction and observational systematics. A halo along the line of -sight can also perturb an arc; this example models the perturber at the lens redshift. - -For a scientific application and the importance of testing lens-model flexibility, see -[Nightingale et al., Scanning For Dark Matter Subhalos in Hubble Space Telescope Imaging of 54 Strong Lenses](https://arxiv.org/abs/2209.10566). - -Start with the [subhalo overview](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/subhalo/start_here.ipynb) -to choose between searching the observed data and calibrating recoverability with simulations. Continue to the -[subhalo detection introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/subhalo/detect/start_here.ipynb) -for the SLaM workflow, grid search and evidence interpretation, then explore -[sensitivity mapping](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/subhalo/sensitivity/start_here.ipynb). - -## Line-of-Sight Halos - -Line-of-sight halos contribute to strong lensing as a population: the small deflections from many halos at -different distances combine to perturb the resolved arcs. The `los_halos` feature simulates this population -through multi-plane ray tracing, including halos both in front of and behind the main lens. - -Use these mock images to investigate how the halo population affects lensing, test dark matter inference -methods, and assess the consequences of attributing all perturbations to subhalos at the main lens redshift. -[He et al. (2022)](https://doi.org/10.1093/mnras/stac191) demonstrate how forward modelling resolved arcs -can constrain a cutoff in the halo mass function and, within an assumed dark matter model, the particle mass. - -![A population of line-of-sight halos and its combined lensing imprint](images/overview_3/los_halos.png) - -*Conceptual illustration, not a computed prediction. The halo symbols represent unseen mass; the arc -distortions illustrate the combined population effect rather than a detection of an individual halo.* - -The examples sample a halo population within a light cone, place truncated NFW halos on redshift planes, -and include compensating convergence sheets to account for the population's mean matter density. PSF -convolution and noise turn the lensed source image into mock imaging data. Compare multiple realizations -to distinguish population-level effects from the particular halos drawn in one simulation. - -Start with the [line-of-sight halo introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/los_halos/start_here.ipynb) -for population assumptions, multi-plane geometry and mean-density compensation. It links the standard -simulator and a JAX route for batched mock-image generation. This folder supplies simulations, not a -complete halo-detection or population-inference workflow. - -## Sensitivity Mapping - -**What could this lens have revealed, even when no subhalo was found?** - -Sensitivity mapping measures which dark matter halos a dataset and modeling procedure could detect. It injects -halos into simulated observations, fits each simulation with and without a halo, and compares the Bayesian evidence. -This calibrates both detections and non-detections, enabling population studies of the abundance and masses of -small halos when combined with a halo-population model. - -Use it to interpret a non-detection or compare the reach of different observations. Additional simulations with -changed noise levels or angular resolution can help assess observing strategies; the introductory example does -not perform that comparison. - -![Illustrative halo recoverability around a lensed arc](images/overview_3/sensitivity_mapping_illustration.png) - -*Conceptual illustration, not a computed sensitivity map. The overlay depicts recoverability at one illustrative -injected mass, not detected halos or the four-cell result of the introductory script.* - -Start with [sensitivity mapping](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/subhalo/sensitivity/start_here.ipynb): -a demonstration with an MGE source, four injected positions and one fixed injected halo mass. Each simulated dataset -is fitted twice. The recovery fits allow mass to vary and use narrow position priors around each injected location. -For calibration using reconstructed source morphology, see -[slam_source_pixelized.py](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/subhalo/sensitivity/slam_source_pixelized.ipynb). - -Sensitivity depends on the simulation, priors, model family and detection threshold. Calibrate it consistently with -the detection analysis; a positive evidence difference alone is not sufficient to claim recovery. A population -analysis needs more than this small demonstration. - -For the scientific connection between detection limits and substructure population constraints, see -[Vegetti & Koopmans (2009)](https://arxiv.org/abs/0903.4752). - -## Potential Correction - -**What mass structure is your smooth lens model missing?** - -Potential correction, also called gravitational imaging, reconstructs small changes to the lensing potential on a -pixelized mesh while reconstructing the background source. Use it to investigate coherent arc residuals, locate -candidate mass perturbations for subsequent physical modeling, and explore departures from a simple smooth lens -model without first choosing a particular halo density profile. - -![Lensed arcs and an inferred correction relative to a smooth lens model](images/overview_3/potential_correction_illustration.png) - -*Conceptual illustration, not a measured mass map. Positive and negative corrections mean more or less projected -mass relative to the smooth baseline; a negative correction does not mean negative total mass.* - -A reconstructed feature is not by itself a confirmed dark-matter detection. Its interpretation depends on the -main lens model, source reconstruction, mask, mesh and regularization, as well as observational systematics. -Potential correction reconstructs structure for the dataset being fitted; sensitivity mapping instead measures -recovery across injected perturbations. - -For a scientific application, [Powell et al. (2025)](https://www.nature.com/articles/s41550-025-02651-2) uses -very-high-resolution radio observations of JVAS B1938+666. This illustrates the method's reach, not a mass-detection -limit promised by the introductory imaging example. The PyAutoLens implementation credits the -[Cao et al. potential-correction software](https://github.com/caoxiaoyue/lensing_potential_correction); -retain its [citation and reproduction materials](https://github.com/caoxiaoyue/potential_correction_paper) when using it. - -Start with the [potential correction introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/potential_correction/start_here.ipynb) -for simulated imaging with a known smooth starting model, joint reconstruction, convergence corrections, -iterative refinement and evidence sampling. Continue to the -[likelihood walkthrough](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/advanced/potential_correction/likelihood_function.ipynb) -or the [interferometer example](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/potential_correction/start_here.ipynb). - -## Graphical Models - -The examples above fit each strong lens dataset one-by-one. However, many lens properties are shared across a -sample (e.g. population-level mass distributions, cosmological parameters), and fitting lenses independently does -not exploit this shared structure. - -Graphical models fit multiple datasets simultaneously, explicitly defining which parameters are unique to each -lens and which are shared across the sample. For example, the Hubble constant can be inferred jointly from many -time-delay lenses, with each lens having its own mass model but all sharing a single H0. Hierarchical extensions -assume parameters are drawn from a parent distribution (e.g. the population's distribution of mass slopes), whose -properties are inferred from the full sample, extracting significantly more information than one-by-one fitting. - -Checkout `autolens_workspace/*/guides/modeling/advanced/graphical.py` to learn how to fit a graphical model -and `autolens_workspace/*/guides/modeling/advanced/hierarchical.py` for hierarchical models. - -## Weak Lensing - -In the weak lensing regime, a foreground mass distribution (e.g. a galaxy cluster) subtly distorts the shapes of -many background galaxies, coherently aligning their ellipticities, without producing the multiple images and -giant arcs of strong lensing. - -**PyAutoLens** fits weak lensing shear catalogues using the same mass profiles and non-linear search tools as -strong lensing: model-independent mass maps, parametric halo model fits and tangential shear profiles. Its -quickstart example fits the real JWST-era shape catalogue of Abell 2744, and strong and weak lensing data can -be combined in joint analyses of the same cluster. - -Checkout `autolens_workspace/*/weak/start_here.py` to fit your first weak lensing dataset. - -Combine strong-lensing constraints in a cluster's inner region with weak-lensing shear across a wider field -to study its mass distribution on complementary scales. The two datasets retain distinct observables, -uncertainties and source-redshift information within the shared model. - -![Inner strong-lensing arcs and a wider field of weakly distorted galaxies](images/overview_3/strong_weak_lensing.png) - -Conceptual illustration: the panels cover different angular scales; dashed contours illustrate a mass model, -not a direct measurement from individual galaxy shapes. - -Read the [strong and weak lensing introduction](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/weak/features/strong_lensing/start_here.ipynb) for the joint construction and the separate simulated and Abell 2744 examples. - -## Choose a Non-Imaging Feature - -Start from your scientific question and dataset. Each introduction below explains its use cases, assumptions -and example routes; shared feature names do not imply identical models across these regimes. - -![Galaxy, multi-galaxy, group and cluster lens regimes](images/overview_2/lens_scales.png) - -Reused new-user-guide schematic. The panels illustrate different lens regimes and angular scales; they are not -a controlled comparison of one observed system. - -### Multi-galaxy lenses - -Separate the masses and light of co-dominant deflectors and reconstruct the background source. - -- [Double Source Plane Lens](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/double_source_plane_lens/start_here.ipynb) -- [Mass Stellar Dark](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/mass_stellar_dark/start_here.ipynb) -- [Operated Light Profile](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/operated_light_profile/start_here.ipynb) -- [Shapelets](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/shapelets/start_here.ipynb) -- [Sky Background](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/sky_background/start_here.ipynb) -- [Subhalo Detect](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/subhalo/detect/start_here.ipynb) -- [Subhalo](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/advanced/subhalo/start_here.ipynb) -- [Extra Galaxies](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/extra_galaxies/start_here.ipynb) -- [Linear Light Profiles](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/linear_light_profiles/start_here.ipynb) -- [Multi Gaussian Expansion](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/multi_gaussian_expansion/start_here.ipynb) -- [No Lens Light](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/no_lens_light/start_here.ipynb) -- [Pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/pixelization/start_here.ipynb) -- [Scaling Relation](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_galaxy/features/scaling_relation/start_here.ipynb) - -### Group-scale lenses - -Compare member-galaxy masses and a possible shared halo while retaining the lensing constraints from extended arcs. - -- [Double Source Plane Lens](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/double_source_plane_lens/start_here.ipynb) -- [Mass Stellar Dark](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/mass_stellar_dark/start_here.ipynb) -- [Operated Light Profile](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/operated_light_profile/start_here.ipynb) -- [Shapelets](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/shapelets/start_here.ipynb) -- [Sky Background](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/sky_background/start_here.ipynb) -- [Subhalo Detect](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/subhalo/detect/start_here.ipynb) -- [Subhalo](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/advanced/subhalo/start_here.ipynb) -- [Group Halo](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/group_halo/start_here.ipynb) -- [Linear Light Profiles](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/linear_light_profiles/start_here.ipynb) -- [Multi Gaussian Expansion](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/multi_gaussian_expansion/start_here.ipynb) -- [No Lens Light](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/no_lens_light/start_here.ipynb) -- [Pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/pixelization/start_here.ipynb) -- [Scaling Relation](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/group/features/scaling_relation/start_here.ipynb) - -### Interferometer data - -Reconstruct radio and submillimeter source emission and test the lens mass directly against complex visibilities. - -- [Operated Light Profile](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/operated_light_profile/start_here.ipynb) -- [Feature: Potential Correction (Gravitational Imaging)](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/potential_correction/start_here.ipynb) -- [Shapelets](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/shapelets/start_here.ipynb) -- [Subhalo Detect](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/subhalo/detect/start_here.ipynb) -- [Subhalo Sensitivity](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/subhalo/sensitivity/start_here.ipynb) -- [Subhalo](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/advanced/subhalo/start_here.ipynb) -- [Start Here: Datacube](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/datacube/start_here.ipynb) -- [Extra Galaxies](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/extra_galaxies/start_here.ipynb) -- [Linear Light Profiles](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/linear_light_profiles/start_here.ipynb) -- [Multi Gaussian Expansion](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/multi_gaussian_expansion/start_here.ipynb) -- [Pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/pixelization/start_here.ipynb) -- [Scaling Relation](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/interferometer/features/scaling_relation/start_here.ipynb) - -### Multiple datasets - -Combine complementary observations with shared lens parameters and explicit dataset-specific quantities. - -- [Dataset Offsets](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/dataset_offsets/start_here.ipynb) -- [Imaging And Interferometer](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/imaging_and_interferometer/start_here.ipynb) -- [Imaging And Point Source](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/imaging_and_point_source/start_here.ipynb) -- [One By One](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/one_by_one/start_here.ipynb) -- [Pixelization](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/pixelization/start_here.ipynb) -- [Same Wavelength](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/same_wavelength/start_here.ipynb) -- [SLaM](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/slam/start_here.ipynb) -- [Wavelength Dependence](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/multi_dataset/features/wavelength_dependence/start_here.ipynb) - -### Point-source data - -Prepare compact-image measurements and model their deflections, additional galaxies and source planes. - -- [Deblending](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/features/deblending/start_here.ipynb) -- [Extra Galaxies](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/features/extra_galaxies/start_here.ipynb) -- [Multiple Sources](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/features/multiple_sources/start_here.ipynb) -- [Scaling Relation](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/point_source/features/scaling_relation/start_here.ipynb) - -### Strong and weak lensing - -Constrain the mass distribution from central multiple images and wider-field shear. - -- [Strong Lensing](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/weak/features/strong_lensing/start_here.ipynb) +

All workspace links

Choose your dataset to browse every feature introduction.

Group · 13 introductions
Imaging · 17 introductions
Interferometer · 12 introductions
Multi dataset · 8 introductions
Multi galaxy · 13 introductions
Point source · 4 introductions
Weak · 1 introductions
\ No newline at end of file