-## Wrap Up
+
+
+## Next steps
-This cookbook shows how to compose simple lens models using the `af.Model()` and `af.Collection()` objects.
+Use a workspace modelling example to fit your model, then inspect both the posterior and the fit residuals. The [likelihood guide](likelihood_function.md) explains the calculations behind the fit.
diff --git a/docs/general/papers.md b/docs/general/papers.md
index f397068b1..3aac09b63 100644
--- a/docs/general/papers.md
+++ b/docs/general/papers.md
@@ -2,100 +2,134 @@
# Papers
-The following papers use **PyAutoLens**:
+These papers use PyAutoLens for modelling, simulations or analysis products. The collection is organized by topic and includes preprints. For software and method citations, see [Citations and references](citations.md).
-**Dark Matter**
+## Dark Matter
-[A forward-modelling method to infer the dark matter particle mass from strong gravitational lenses](https://arxiv.org/abs/2010.13221)
+- [A forward-modelling method to infer the dark matter particle mass from strong gravitational lenses](https://arxiv.org/abs/2010.13221)
-[Dark disk substructure and superfluid dark matter](https://arxiv.org/abs/1901.03694)
+- [Dark disk substructure and superfluid dark matter](https://arxiv.org/abs/1901.03694)
-[Galaxy-galaxy strong lens perturbations: line-of-sight haloes versus lens subhaloes](https://arxiv.org/abs/2110.04512)
+- [Galaxy-galaxy strong lens perturbations: line-of-sight haloes versus lens subhaloes](https://arxiv.org/abs/2110.04512)
-[Halo concentration strengthens dark matter constraints in galaxy–galaxy strong lensing analyses](https://arxiv.org/abs/2109.00018)
+- [Halo concentration strengthens dark matter constraints in galaxy–galaxy strong lensing analyses](https://arxiv.org/abs/2109.00018)
-[Novel Substructure & Superfluid Dark Matter](https://arxiv.org/abs/1901.03694)
+- [Scanning for dark matter subhaloes in Hubble Space Telescope imaging of 54 strong lenses](https://doi.org/10.1093/mnras/stad3694)
+- [Probing dark matter substructures with free-form modelling: a case study of the Jackpot strong lens](https://arxiv.org/abs/2504.19177)
+- [Not so dark, not so dense: an alternative explanation for the lensing subhalo in SDSSJ0946+1006](https://arxiv.org/abs/2506.07978)
+- [Galaxy mass modelling from multiwavelength JWST strong lens analysis: dark matter substructure, angular mass complexity, or both?](https://doi.org/10.1093/mnras/staf491)
+- [Measuring the stellar-to-halo mass relation at approximately 10^10 solar masses, using forthcoming space-based imaging of galaxy–galaxy strong lenses](https://doi.org/10.1093/mnras/staf2253)
+- [Using strong lensing to detect subhaloes with steep inner density profiles](https://doi.org/10.1093/mnras/stag066)
-**Cosmology**
+## Cosmology
-[Kinematic cosmic dipole from a large sample of strong lenses](https://arxiv.org/abs/2603.11152)
+- [Kinematic cosmic dipole from a large sample of strong lenses](https://arxiv.org/abs/2603.11152)
-[Probing General Relativity in galactic scales at z ∼0.3](https://arxiv.org/abs/2212.08463)
+- [Probing General Relativity in galactic scales at z ∼0.3](https://arxiv.org/abs/2212.08463)
-[Why weak lensing cluster shapes are insensitive to self-interacting dark matter](https://arxiv.org/abs/2210.13474)
+- [Why weak lensing cluster shapes are insensitive to self-interacting dark matter](https://arxiv.org/abs/2210.13474)
-**Galaxy Formation & Evolution**
+## Galaxy Formation & Evolution
-[Two-dimensional kinematics and dynamical modelling of the 'Jackpot' gravitational lens from deep MUSE observations](https://arxiv.org/abs/2401.08771)
+- [Two-dimensional kinematics and dynamical modelling of the 'Jackpot' gravitational lens from deep MUSE observations](https://arxiv.org/abs/2401.08771)
-[Beyond the bulge-halo conspiracy? Density profiles of Early-type galaxies from extended-source strong lensing](https://arxiv.org/abs/2207.04070)
+- [Beyond the bulge-halo conspiracy? Density profiles of Early-type galaxies from extended-source strong lensing](https://arxiv.org/abs/2207.04070)
-[Galaxy structure with strong gravitational lensing: decomposing the internal mass distribution of massive elliptical galaxies](https://arxiv.org/abs/1901.07801)
+- [Galaxy structure with strong gravitational lensing: decomposing the internal mass distribution of massive elliptical galaxies](https://arxiv.org/abs/1901.07801)
-[Microlensing and the type Ia supernova iPTF16geu](https://arxiv.org/abs/2112.04524)
+- [Microlensing and the type Ia supernova iPTF16geu](https://arxiv.org/abs/2112.04524)
-**Lens Modeling / Theory**
+- [Abell 1201: Detection of an Ultramassive Black Hole in a Strong Gravitational Lens](https://arxiv.org/abs/2303.15514)
+- [Unveiling a 36 Billion Solar Mass Black Hole at the Centre of the Cosmic Horseshoe Gravitational Lens](https://arxiv.org/abs/2502.13788)
-[Spectroscopical Confirmation and Lens Modeling of a Complex Strong Lensing System Produced by a Close Galaxy Pair at z_d = 0.79](https://arxiv.org/abs/2603.12790)
+- [Pixel-level modelling of group-scale strong lens CASSOWARY 19](https://arxiv.org/abs/2504.11445)
+- [The COSMOS-Web ring: In-depth characterization of an Einstein ring lensing system at z approximately 2](https://doi.org/10.1051/0004-6361/202348095)
+- [What can strong lensing recover in edge-on disc galaxies? A mock study based on TNG50 simulations](https://arxiv.org/abs/2611.03084) — preprint.
-[Strong gravitational lensings external shear is not shear](https://arxiv.org/abs/2301.05244)
+## Lens Modeling / Theory
-[Automated galaxy-galaxy strong lens modelling: no lens left behind](https://arxiv.org/abs/2202.09201)
+- [Spectroscopical Confirmation and Lens Modeling of a Complex Strong Lensing System Produced by a Close Galaxy Pair at z_d = 0.79](https://arxiv.org/abs/2603.12790)
-[Systematic Errors Induced by the Elliptical Power-law model in Galaxy–Galaxy Strong Lens Modeling](https://arxiv.org/abs/2110.14554)
+- [Strong gravitational lensings external shear is not shear](https://arxiv.org/abs/2301.05244)
-[Testing strong lensing subhalo detection with a cosmological simulation](https://arxiv.org/abs/2202.10191)
+- [Automated galaxy-galaxy strong lens modelling: no lens left behind](https://arxiv.org/abs/2202.09201)
-**Statistics / Machine Learning**
+- [Systematic Errors Induced by the Elliptical Power-law model in Galaxy–Galaxy Strong Lens Modeling](https://arxiv.org/abs/2110.14554)
-[A machine learning based approach to gravitational lens identification with the International LOFAR Telescope](https://arxiv.org/abs/2207.10698)
+- [Testing strong lensing subhalo detection with a cosmological simulation](https://arxiv.org/abs/2202.10191)
-[Auto-identification of unphysical source reconstructions in strong gravitational lens modelling](https://arxiv.org/abs/2012.04665)
+- [Unveiling lens light complexity with a novel multi-Gaussian expansion approach for strong gravitational lensing](https://arxiv.org/abs/2403.16253)
+- [The impact of CLEANing on strong gravitational lens modelling](https://doi.org/10.1093/mnras/staf161)
-[Decoding Dark Matter Substructure without Supervision](https://arxiv.org/abs/2008.12731)
+## Statistics / Machine Learning
-[Deep Learning the Morphology of Dark Matter Substructure](https://arxiv.org/abs/1909.07346)
+- [A machine learning based approach to gravitational lens identification with the International LOFAR Telescope](https://arxiv.org/abs/2207.10698)
-[Domain Adaptation for Simulation-Based Dark Matter Searches Using Strong Gravitational Lensing](https://arxiv.org/abs/2112.12121)
+- [Auto-identification of unphysical source reconstructions in strong gravitational lens modelling](https://arxiv.org/abs/2012.04665)
-[Likelihood-free MCMC with Amortized Approximate Likelihood Ratios](https://arxiv.org/abs/1903.04057)
+- [Decoding Dark Matter Substructure without Supervision](https://arxiv.org/abs/2008.12731)
-[On machine learning search for gravitational lenses](https://arxiv.org/abs/2104.01014)
+- [Deep Learning the Morphology of Dark Matter Substructure](https://arxiv.org/abs/1909.07346)
-[Strong lens modelling: comparing and combining Bayesian neural networks and parametric profile fitting](https://arxiv.org/abs/2103.03257)
+- [Domain Adaptation for Simulation-Based Dark Matter Searches Using Strong Gravitational Lensing](https://arxiv.org/abs/2112.12121)
-[Streamlined Lensed Quasar Identification in Multiband Images via Ensemble Networks](https://arxiv.org/abs/2307.01090)
+- [Likelihood-free MCMC with Amortized Approximate Likelihood Ratios](https://arxiv.org/abs/1903.04057)
-**Source Science**
+- [On machine learning search for gravitational lenses](https://arxiv.org/abs/2104.01014)
-[A Glimpse of the Stellar Populations and Elemental Abundances of Gravitationally Lensed, Quiescent Galaxies at z≳1 with Keck Deep Spectroscopy](https://arxiv.org/abs/2212.04731)
+- [Strong lens modelling: comparing and combining Bayesian neural networks and parametric profile fitting](https://arxiv.org/abs/2103.03257)
-[Discovery of a radio lobe in the Cloverleaf Quasar at z = 2.56](https://arxiv.org/abs/2212.07027)
+- [Streamlined Lensed Quasar Identification in Multiband Images via Ensemble Networks](https://arxiv.org/abs/2307.01090)
-[ALMA [\{N} \{II}] 205 μm Imaging Spectroscopy of the Lensed Submillimeter Galaxy ID 141 at Redshift 4.24](https://arxiv.org/abs/2006.01147)
+## Source Science
-[CO, H2O, H2O+ line & dust emission in a z = 3.63 strongly lensed starburst merger at sub-kiloparsec scales](https://arxiv.org/abs/1903.00273)
+- [A Glimpse of the Stellar Populations and Elemental Abundances of Gravitationally Lensed, Quiescent Galaxies at z≳1 with Keck Deep Spectroscopy](https://arxiv.org/abs/2212.04731)
-[The molecular-gas properties in the gravitationally lensed merger HATLAS J142935.3-002836](https://arxiv.org/abs/1904.00307)
+- [Discovery of a radio lobe in the Cloverleaf Quasar at z = 2.56](https://arxiv.org/abs/2212.07027)
-[Modelling high-resolution ALMA observations of strongly lensed dusty star forming galaxies detected by Herschel](https://arxiv.org/abs/2111.09680)
+- [ALMA [\{N} \{II}] 205 μm Imaging Spectroscopy of the Lensed Submillimeter Galaxy ID 141 at Redshift 4.24](https://arxiv.org/abs/2006.01147)
-[ALMA resolves the first strongly-lensed Optical/NIR-dark galaxy](https://arxiv.org/abs/2207.00466)
+- [CO, H2O, H2O+ line & dust emission in a z = 3.63 strongly lensed starburst merger at sub-kiloparsec scales](https://arxiv.org/abs/1903.00273)
-[The Two 𝑧 ∼ 13 Galaxy Candidates HD1 and HD2 Are Likely Not Lensed](https://arxiv.org/abs/2209.06830)
+- [The molecular-gas properties in the gravitationally lensed merger HATLAS J142935.3-002836](https://arxiv.org/abs/1904.00307)
-[The Way of Water: ALMA resolves H2O emission lines in a strongly lensed dusty star-forming galaxy at z ∼ 3.1](https://arxiv.org/abs/2304.08563)
+- [Modelling high-resolution ALMA observations of strongly lensed dusty star forming galaxies detected by Herschel](https://arxiv.org/abs/2111.09680)
-[Characterisation of Herschel-selected strong lens candidates through HST and sub-mm/mm observations](https://arxiv.org/abs/2311.01158)
+- [ALMA resolves the first strongly-lensed Optical/NIR-dark galaxy](https://arxiv.org/abs/2207.00466)
-**Surveys**
+- [The Two 𝑧 ∼ 13 Galaxy Candidates HD1 and HD2 Are Likely Not Lensed](https://arxiv.org/abs/2209.06830)
-[Gaia GraL X.: The GraL catalogue of gravitationally lensed quasars Matched with Gaia data, redshifts, and time delays](https://arxiv.org/abs/2603.12810)
+- [The Way of Water: ALMA resolves H2O emission lines in a strongly lensed dusty star-forming galaxy at z ∼ 3.1](https://arxiv.org/abs/2304.08563)
-[When Spectral Modeling Meets Convolutional Networks: A Method for Discovering Reionization-era Lensed Quasars in Multi-band Imaging Data](https://arxiv.org/abs/2211.14543)
+- [Characterisation of Herschel-selected strong lens candidates through HST and sub-mm/mm observations](https://arxiv.org/abs/2311.01158)
-[Modeling Strong Lenses from Wide-Field Ground-Based Observations in KiDS and GAMA](https://arxiv.org/abs/2301.05320)
+- [Gravitational lensing reveals cool gas within 10–20 kpc around a quiescent galaxy](https://doi.org/10.1038/s42005-024-01778-4)
+- [Resolving the molecular gas emission of the z approximately 2.5–2.8 starburst galaxies SPT0125-47 and SPT2134-50](https://arxiv.org/abs/2512.05093)
+- [Detailed lens modeling and kinematics of the submillimeter galaxy G09v1.97](https://arxiv.org/abs/2601.14685)
-[MNELLS: The MUSE Nearby Early-Type Galaxy Lens Locator Survey](https://arxiv.org/abs/2002.07191)
+## Surveys
-[Subaru FOCAS IFU observations of two z=0.12 strong-lensing elliptical galaxies from SDSS MaNGA](https://arxiv.org/abs/1911.06338)
+- [Gaia GraL X.: The GraL catalogue of gravitationally lensed quasars Matched with Gaia data, redshifts, and time delays](https://arxiv.org/abs/2603.12810)
+
+- [When Spectral Modeling Meets Convolutional Networks: A Method for Discovering Reionization-era Lensed Quasars in Multi-band Imaging Data](https://arxiv.org/abs/2211.14543)
+
+- [Modeling Strong Lenses from Wide-Field Ground-Based Observations in KiDS and GAMA](https://arxiv.org/abs/2301.05320)
+
+- [MNELLS: The MUSE Nearby Early-Type Galaxy Lens Locator Survey](https://arxiv.org/abs/2002.07191)
+
+- [Subaru FOCAS IFU observations of two z=0.12 strong-lensing elliptical galaxies from SDSS MaNGA](https://arxiv.org/abs/1911.06338)
+
+- [The COSMOS-Web Lens Survey (COWLS) I: discovery of >100 high redshift strong lenses in contiguous JWST imaging](https://arxiv.org/abs/2503.08777)
+- [The COSMOS-Web Lens Survey (COWLS) II: depth, resolution, and NIR coverage from JWST reveal 17 spectacular lenses](https://arxiv.org/abs/2503.08782) — uses the COWLS I lens models.
+- [The COSMOS-Web Lens Survey (COWLS) III: forecasts versus data](https://arxiv.org/abs/2503.08785) — compares lenspop forecasts with the model-supported COWLS catalogue.
+- [Euclid Quick Data Release (Q1) XXVI: The Strong Lensing Discovery Engine A – System overview and first lens sample](https://doi.org/10.1051/0004-6361/202555141)
+- [Euclid Quick Data Release (Q1) XXVII: The Strong Lensing Discovery Engine B – Early strong lens candidates from visual inspection of high-velocity dispersion galaxies](https://doi.org/10.1051/0004-6361/202554605)
+- [Euclid Quick Data Release (Q1) XXXI: LEMON – LEns MOdelling with Neural networks](https://doi.org/10.1051/0004-6361/202554538)
+- [Euclid: Finding strong gravitational lenses in the early release observations using convolutional neural networks](https://doi.org/10.1051/0004-6361/202554132)
+- [Galaxy-scale lens search in the PEARLS NEP TDF and CEERS JWST fields](https://doi.org/10.1093/mnras/staf1991)
+- [Euclid Quick Data Release (Q1): The Strong Lensing Discovery Engine F – Bright and low-redshift strong lenses](https://arxiv.org/abs/2603.28580)
+- [Euclid Quick Data Release (Q1): The Strong Lensing Discovery Engine E – Ensemble classification and lessons for DR1](https://doi.org/10.1051/0004-6361/202554617) — uses the lens models from Engine A.
+
+## Add a paper
+
+Share a missing application in [PyAutoLabs Discussions](https://github.com/orgs/PyAutoLabs/discussions), including a link and a brief description of how it uses the software.
diff --git a/docs/general/workspace.md b/docs/general/workspace.md
index 9b1bbb880..2e1109e5d 100644
--- a/docs/general/workspace.md
+++ b/docs/general/workspace.md
@@ -1,59 +1,50 @@
(workspace)=
+# Workspace tour
-# Workspace Tour
+The [autolens workspace](https://github.com/PyAutoLabs/autolens_workspace) contains examples and datasets for modelling strong lenses. Use this page to find where things live; the [workspace README](https://github.com/PyAutoLabs/autolens_workspace#readme) has the full directory guide.
-You should have downloaded and configured the [autolens workspace](https://github.com/PyAutoLabs/autolens_workspace)
-when you installed **PyAutoLens**. If you didn't, checkout the
-[installation instructions](https://pyautolens.readthedocs.io/en/latest/general/installation.html#installation-with-pip)
-for how to downloaded and configure the workspace.
+
+
-The `README.md` files distributed throughout the workspace describe every folder and file, and specify if
-examples are for beginner or advanced users.
-New users should begin by checking out the following parts of the workspace.
+## Find an example
-## Scripts / Notebooks
+Start with the [New User Guide](https://pyautolens.readthedocs.io/en/latest/overview/overview_2_new_user_guide.html) to choose an example for your observations. Open its notebook to read and run it, or use the matching Python script where provided.
-There are numerous example describing how to perform lensing calculations, lens modeling, and many other
-**PyAutoLens** features. All examples are provided as Python scripts and Jupyter notebooks.
+
-Descriptions of every configuration file and their input parameters are provided in the `README.md` in
-the [config directory of the workspace](https://github.com/PyAutoLabs/autolens_workspace/tree/main/config)
+
-## Config
+
-Here, you'll find the configuration files which customize:
+## Where files live
-> - The default settings used by every non-linear search.
-> - Visualization, including the backend used by *matplotlib*.
-> - The priors and notation configs associated with the light and mass profiles used for lens modeling.
-> - The behaviour of different (y,x) Cartesian grids used to perform lens calculations.
-> - The general.yaml config which customizes other aspects of **PyAutoLens**.
+| Folder | What you use it for |
+|---|---|
+| [`notebooks/`](https://github.com/PyAutoLabs/autolens_workspace/tree/main/notebooks) | Worked examples with explanations, code and figures. |
+| [`scripts/`](https://github.com/PyAutoLabs/autolens_workspace/tree/main/scripts) | Python versions to run and adapt for your analysis. |
+| [`dataset/`](https://github.com/PyAutoLabs/autolens_workspace/tree/main/dataset) | Example observations and inputs used by the scripts. |
+| [`config/`](https://github.com/PyAutoLabs/autolens_workspace/tree/main/config) | Overrides for priors, plots, output and other defaults. See [Configuration](configs.md). |
+| `output/` | Results written when you run a fit. The search's name and path settings organize each analysis. |
-Checkout the [configuration](https://pyautolens.readthedocs.io/en/latest/general/installation.html#installation-with-pip)
-section of the readthedocs for a complete description of every configuration file.
+Run local examples from the workspace root so their relative dataset and configuration paths resolve. If you need to set up the workspace, follow the existing [installation guide](https://pyautolens.readthedocs.io/en/latest/installation/overview.html).
-## Dataset
+
-Contains the dataset's used to perform lens modeling. Example datasets using simulators included with the workspace
-are included here by default.
+## SLaM pipelines
-## Output
+For analyses that fit the source, lens light and mass in stages, see the [SLaM examples](https://github.com/PyAutoLabs/autolens_workspace/blob/main/notebooks/imaging/features/pixelization/slam.ipynb). Start with a basic imaging fit before adapting a pipeline.
-The folder where modeling results are stored.
+
-## SLaM
+
-Advanced lens modeling pipelines that use the Source, Light and Mass (SLaM) approach to lens modeling.
+## Next steps
-See [here](https://pyautolens.readthedocs.io/en/latest/advanced/slam.html) for an overview.
+- Change plotting or output defaults in [Configuration](configs.md).
+- Build and inspect your model with the [Model cookbook](model_cookbook.md).
+- Work through [HowToLens](https://github.com/PyAutoLabs/HowToLens) for the science behind the examples.
-## HowToLens
+If you use the [AI Assistant](https://github.com/PyAutoLabs/autolens_assistant), you can ask:
-The **HowToLens** lecture series is a collection of Jupyter notebooks describing how to build a **PyAutoLens** model
-fitting project and giving illustrations of different statistical methods and techniques. It ships as a standalone
-repository at [PyAutoLabs/HowToLens](https://github.com/PyAutoLabs/HowToLens) (separate from the workspace).
-
-Checkout the
-[tutorials section](https://pyautolens.readthedocs.io/en/latest/howtolens/howtolens.html) for a
-full description of the lectures and online examples of every notebook.
+> I have [describe your observations] and want to model [describe the objects]. Find a matching workspace example, explain its inputs, and show me which parts I need to adapt.
diff --git a/files/citations.bib b/files/citations.bib
index 85e8158ef..9db3d3641 100644
--- a/files/citations.bib
+++ b/files/citations.bib
@@ -16,6 +16,7 @@ @article{astropy1
Year = 2013,
Bdsk-Url-1 = {https://dx.doi.org/10.1051/0004-6361/201322068}}
+
@article{astropy2,
Adsnote = {Provided by the SAO/NASA Astrophysics Data System},
Adsurl = {https://ui.adsabs.harvard.edu/#abs/2018AJ....156..123T},
@@ -34,6 +35,7 @@ @article{astropy2
}
+
@article{colossus,
abstract = {This paper introduces Colossus, a public, open-source python package for calculations related to cosmology, the large-scale structure (LSS) of matter in the universe, and the properties of dark matter halos. The code is designed to be fast and easy to use, with a coherent, well-documented user interface. The cosmology module implements Friedman-Lemaitre-Robertson-Walker cosmologies including curvature, relativistic species, and different dark energy equations of state, and provides fast computations of the linear matter power spectrum, variance, and correlation function. The LSS module is concerned with the properties of peaks in Gaussian random fields and halos in a statistical sense, including their peak height, peak curvature, halo bias, and mass function. The halo module deals with spherical overdensity radii and masses, density profiles, concentration, and the splashback radius. To facilitate the rapid exploration of these quantities, Colossus implements more than 40 different fitting functions from the literature. I discuss the core routines in detail, with particular emphasis on their accuracy. Colossus is available at bitbucket.org/bdiemer/colossus.},
archivePrefix = {arXiv},
@@ -54,6 +56,7 @@ @article{colossus
year = {2018}
}
+
@article{corner,
doi = {10.21105/joss.00024},
url = {https://doi.org/10.21105/joss.00024},
@@ -67,6 +70,7 @@ @article{corner
title = {corner.py: Scatterplot matrices in Python},
journal = {The J. Open Source Softw.}
}
+
@article{dynesty,
abstract = {We present dynesty, a public, open-source, python package to estimate Bayesian posteriors and evidences (marginal likelihoods) using the dynamic nested sampling methods developed by Higson et al. By adaptively allocating samples based on posterior structure, dynamic nested sampling has the benefits of Markov chain Monte Carlo (MCMC) algorithms that focus exclusively on posterior estimation while retaining nested sampling's ability to estimate evidences and sample from complex, multimodal distributions. We provide an overview of nested sampling, its extension to dynamic nested sampling, the algorithmic challenges involved, and the various approaches taken to solve them in this and previous work. We then examine dynesty's performance on a variety of toy problems along with several astronomical applications. We find in particular problems dynesty can provide substantial improvements in sampling efficiency compared to popular MCMC approaches in the astronomical literature. More detailed statistical results related to nested sampling are also included in the appendix.},
archivePrefix = {arXiv},
@@ -84,6 +88,7 @@ @article{dynesty
volume = {493},
year = {2020}
}
+
@article{emcee,
abstract = {We introduce a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman {\&} Weare (2010). The code is open source and has already been used in several published projects in the astrophysics literature. The algorithm behind emcee has several advantages over traditional MCMC sampling methods and it has excellent performance as measured by the autocorrelation time (or function calls per independent sample). One major advantage of the algorithm is that it requires hand-tuning of only 1 or 2 parameters compared to {\$}\backslashsim N{\^{}}2{\$} for a traditional algorithm in an N-dimensional parameter space. In this document, we describe the algorithm and the details of our implementation and API. Exploiting the parallelism of the ensemble method, emcee permits any user to take advantage of multiple CPU cores without extra effort. The code is available online at http://dan.iel.fm/emcee under the MIT License.},
archivePrefix = {arXiv},
@@ -100,6 +105,7 @@ @article{emcee
volume = {125},
year = {2013}
}
+
@article{matplotlib,
Author = {Hunter, J. D.},
Title = {Matplotlib: A 2D graphics environment},
@@ -114,6 +120,7 @@ @article{matplotlib
doi = {10.1109/MCSE.2007.55},
year = 2007
}
+
@ARTICLE{nautilus,
author = {{Lange}, Johannes U.},
title = "{NAUTILUS: boosting Bayesian importance nested sampling with deep learning}",
@@ -131,6 +138,7 @@ @ARTICLE{nautilus
adsurl = {https://ui.adsabs.harvard.edu/abs/2023MNRAS.525.3181L},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
+
@article{numba,
abstract = {Dynamic, interpreted languages, like Python, are attractive for domain-experts and scientists experimenting with new ideas. However, the performance of the interpreter is of-ten a barrier when scaling to larger data sets. This paper presents a just-in-time compiler for Python that focuses in scientific and array-oriented computing. Starting with the simple syntax of Python, Numba compiles a subset of the language into efficient machine code that is comparable in performance to a traditional compiled language. In addi-tion, we share our experience in building a JIT compiler using LLVM[1].},
author = {Lam, Siu Kwan and Pitrou, Antoine and Seibert, Stanley},
@@ -144,6 +152,7 @@ @article{numba
url = {http://dl.acm.org/citation.cfm?doid=2833157.2833162},
year = {2015}
}
+
@article{numpy,
author={S. {van der Walt} and S. C. {Colbert} and G. {Varoquaux}},
doi={10.1109/MCSE.2011.37},
@@ -153,6 +162,7 @@ @article{numpy
volume={13},
number={2},
pages={22-30},}
+
@article{pyautofit,
doi = {10.21105/joss.02550},
url = {https://doi.org/10.21105/joss.02550},
@@ -165,6 +175,7 @@ @article{pyautofit
title = {`PyAutoFit`: A Classy Probabilistic Programming Language for Model Composition and Fitting},
journal = {J. Open Source Softw.}
}
+
@article{pyautogalaxy,
doi = {10.21105/joss.04475},
url = {https://doi.org/10.21105/joss.04475},
@@ -177,6 +188,7 @@ @article{pyautogalaxy
title = {PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology},
journal = {J. Open Source Softw.}
}
+
@article{pyautolens,
doi = {10.21105/joss.02825},
url = {https://doi.org/10.21105/joss.02825},
@@ -197,6 +209,7 @@ @book{python
publisher = {CreateSpace},
address = {Scotts Valley, CA}
}
+
@article{scikit-image,
title={scikit-image: image processing in Python},
author={Van der Walt, Stefan and Sch{\"o}nberger, Johannes L and Nunez-Iglesias, Juan and Boulogne, Fran{\c{c}}ois and Warner, Joshua D and Yager, Neil and Gouillart, Emmanuelle and Yu, Tony},
@@ -206,6 +219,7 @@ @article{scikit-image
year={2014},
publisher={PeerJ Inc.}
}
+
@article{scikit-learn,
title={Scikit-learn: Machine Learning in {P}ython},
author={Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V.
@@ -217,6 +231,7 @@ @article{scikit-learn
pages={2825--2830},
year={2011}
}
+
@article{scipy,
author = {{Virtanen}, Pauli and {Gommers}, Ralf and {Oliphant},
Travis E. and {Haberland}, Matt and {Reddy}, Tyler and
@@ -240,6 +255,7 @@ @article{scipy
adsurl = {https://rdcu.be/b08Wh},
doi = {10.1038/s41592-019-0686-2},
}
+
@misc{sqlite,
title={{SQLite}},
url={https://www.sqlite.org/index.html},
@@ -247,6 +263,7 @@ @misc{sqlite
year={2020},
author={Hipp, Richard D}
}
+
@article{zeus1,
title={zeus: A Python Implementation of the Ensemble Slice Sampling method},
author={Minas Karamanis and Florian Beutler},
@@ -254,6 +271,7 @@ @article{zeus1
note={in prep}
}
+
@article{zeus2,
title={Ensemble Slice Sampling},
author={Minas Karamanis and Florian Beutler},
@@ -262,6 +280,7 @@ @article{zeus2
archivePrefix={arXiv},
primaryClass={stat.ML}
}
+
@article{Nightingale2015,
abstract = {We present a new pixelized method for the inversion of gravitationally lensed extended source images which we term adaptive semi-linear inversion (SLI). At the heart of the method is an h-means clustering algorithm which is used to derive a source plane pixelization that adapts to the lens model magnification. The distinguishing feature of adaptive SLI is that every pixelization is derived from a random initialization, ensuring that data discretization is performed in a completely different and unique way for every model parameter set. We compare standard SLI on a fixed source pixel grid with the new method and demonstrate the shortcomings of the former when modelling singular power-law ellipsoid (SPLE) lens profiles. In particular, we demonstrate the superior reliability and efficiency of adaptive SLI which, by design, fixes the number of degrees of freedom (NDOF) of the optimization and thereby removes biases present with other methods that allow the NDOF to vary. In addition, we highlight the importance of data discretization in pixel-based inversion methods, showing that adaptive SLI averages over significant systematics that are present when a fixed source pixel grid is used. In the case of the SPLE lens profile, we show how the method successfully samples its highly degenerate posterior probability distribution function with a single nonlinear search. The robustness of adaptive SLI provides a firm foundation for the development of a strong lens modelling pipeline, which will become necessary in the short-term future to cope with the increasing rate of discovery of new strong lens systems.},
archivePrefix = {arXiv},
@@ -279,6 +298,7 @@ @article{Nightingale2015
volume = {452},
year = {2015}
}
+
@article{Nightingale2018,
abstract = {This work presents AutoLens, the first entirely automated modeling suite for the analysis of galaxy-scale strong gravitational lenses. AutoLens simultaneously models the lens galaxy's light and mass whilst reconstructing the extended source galaxy on an adaptive pixel-grid. The method's approach to source-plane discretization is amorphous, adapting its clustering and regularization to the intrinsic properties of the lensed source. The lens's light is fitted using a superposition of Sersic functions, allowing AutoLens to cleanly deblend its light from the source. Single-component mass models representing the lens's total mass density profile are demonstrated, which in conjunction with light modeling can detect central images using a centrally cored profile. Decomposed mass modeling is also shown, which can fully decouple a lens's light and dark matter and determine whether the two components are geometrically aligned. The complexity of the light and mass models is automatically chosen via Bayesian model comparison. These steps form AutoLens's automated analysis pipeline, such that all results in this work are generated without any user intervention. This is rigorously tested on a large suite of simulated images, assessing its performance on a broad range of lens profiles, source morphologies, and lensing geometries. The method's performance is excellent, with accurate light, mass, and source profiles inferred for data sets representative of both existing Hubble imaging and future Euclid wide-field observations.},
archivePrefix = {arXiv},
@@ -297,6 +317,7 @@ @article{Nightingale2018
volume = {478},
year = {2018}
}
+
@article{Nightingale2019,
abstract = {We investigate how strong gravitational lensing can test contemporary models of massive elliptical (ME) galaxy formation, by combining a traditional decomposition of their visible stellar distribution with a lensing analysis of their mass distribution. As a proof of concept, we study a sample of three ME lenses, observing that all are composed of two distinct baryonic structures, a 'red' central bulge surrounded by an extended envelope of stellar material. Whilst these two components look photometrically similar, their distinct lensing effects permit a clean decomposition of their mass structure. This allows us to infer two key pieces of information about each lens galaxy: (i) the stellar mass distribution (without invoking stellar populations models) and (ii) the inner dark matter halo mass. We argue that these two measurements are crucial to testing models of ME formation, as the stellar mass profile provides a diagnostic of baryonic accretion and feedback whilst the dark matter mass places each galaxy in the context of LCDM large-scale structure formation. We also detect large rotational offsets between the two stellar components and a lopsidedness in their outer mass distributions, which hold further information on the evolution of each ME. Finally, we discuss how this approach can be extended to galaxies of all Hubble types and what implication our results have for studies of strong gravitational lensing.},
archivePrefix = {arXiv},
@@ -315,6 +336,7 @@ @article{Nightingale2019
volume = {489},
year = {2019}
}
+
@article{Anowar2019,
author = {Shajib, Anowar J},
title = "{Unified lensing and kinematic analysis for any elliptical mass profile}",
@@ -335,6 +357,7 @@ @article{Anowar2019
+
@article{dynesty4,
title={joshspeagle/dynesty: v2.1.2}, DOI={10.5281/zenodo.7995596},
abstractNote={This is a bug release mostly concerning the checkpointing. Check the changelog for more details.
},
@@ -342,6 +365,7 @@ @article{dynesty4
author={Sergey Koposov and Josh Speagle and Kyle Barbary and Gregory Ashton and Ed Bennett and Johannes Buchner
and Carl Scheffler and Ben Cook and Colm Talbot and James Guillochon and et al.}, year={2023}, month={Jun} }
+
@software{jax,
author = {Bradbury, James and Frostig, Roy and Hawkins, Peter and Johnson, Matthew James and Leary, Chris and Maclaurin, Dougal and Necula, George and Paszke, Adam and VanderPlas, Jake and Wanderman-Milne, Skye and Zhang, Qiao},
title = {{JAX}: composable transformations of {Python}+{NumPy} programs},
@@ -349,6 +373,7 @@ @software{jax
year = {2018}
}
+
@software{optax,
author = {{DeepMind} and Babuschkin, Igor and Baumli, Kate and Bell, Alison and Bhupatiraju, Surya and Bruce, Jake and Buchlovsky, Peter and Budden, David and Cai, Trevor and Clark, Aidan and Danihelka, Ivo and Fantacci, Claudio and Godwin, Jonathan and Jones, Chris and Hemsley, Ross and Hennigan, Tom and Hessel, Matteo and Hou, Shaobo and Kapturowski, Steven and others},
title = {The {D}eep{M}ind {JAX} Ecosystem},
@@ -356,6 +381,7 @@ @software{optax
year = {2020}
}
+
@inproceedings{prodigy,
author = {Mishchenko, Konstantin and Defazio, Aaron},
title = {{Prodigy: An Expeditiously Adaptive Parameter-Free Learner}},
@@ -368,6 +394,7 @@ @inproceedings{prodigy
year = {2024}
}
+
@article{anesthetic,
author = {Handley, Will},
title = {anesthetic: nested sampling visualisation},
@@ -379,6 +406,7 @@ @article{anesthetic
year = {2019}
}
+
@article{getdist,
author = {Lewis, Antony},
title = {{GetDist}: a {Python} package for analysing {Monte Carlo} samples},
@@ -388,6 +416,7 @@ @article{getdist
year = {2019}
}
+
@article{blackjax,
author = {Cabezas, Alberto and Corenflos, Adrien and Lao, Junpeng and Louf, R{\'e}mi and others},
title = {{BlackJAX}: Composable {B}ayesian inference in {JAX}},
@@ -397,6 +426,7 @@ @article{blackjax
year = {2024}
}
+
@article{coolest,
author = {Galan, A. and Vernardos, G. and Minor, Q. and Sluse, D. and {Van de Vyvere}, L. and Gomer, M.},
title = {{Exploiting the diversity of modeling methods to probe systematic biases in strong lensing analyses}},
@@ -407,6 +437,7 @@ @article{coolest
year = {2024}
}
+
@inproceedings{networkx,
author = {Hagberg, Aric A. and Schult, Daniel A. and Swart, Pieter J.},
title = {Exploring Network Structure, Dynamics, and Function using {NetworkX}},
@@ -417,6 +448,7 @@ @inproceedings{networkx
year = {2008}
}
+
@article{tfp,
author = {Dillon, Joshua V. and Langmore, Ian and Tran, Dustin and Brevdo, Eugene and Vasudevan, Srinivas and Moore, Dave and Patton, Brian and Alemi, Alex and Hoffman, Matthew D. and Saurous, Rif A.},
title = {{TensorFlow} Distributions},
@@ -426,6 +458,7 @@ @article{tfp
year = {2017}
}
+
@software{nufftax,
author = {Gragas and Oudoumanessah, Geoffroy and Iollo, Jacopo},
title = {nufftax: Pure {JAX} implementation of the Non-Uniform Fast Fourier Transform},
@@ -433,6 +466,7 @@ @software{nufftax
year = {2026}
}
+
@article{finufft,
author = {Barnett, Alexander H. and Magland, Jeremy F. and af Klinteberg, Ludvig},
title = {A parallel non-uniform fast {F}ourier transform library based on an 'exponential of semicircle' kernel},
@@ -443,6 +477,7 @@ @article{finufft
year = {2019}
}
+
@software{jax_zero_contour,
author = {Krawczyk, Coleman},
title = {{CKrawczyk/Jax-Zero-Contour}: Version 2.0.0},
@@ -453,6 +488,7 @@ @software{jax_zero_contour
year = {2025}
}
+
@article{Enzi2026,
author = {Enzi, Wolfgang J. R. and Krawczyk, Coleman M. and Li, Tian and Collett, Thomas E.},
title = {Gaussian processes on ray-guided transformed uniform grids for fast, flexible, and auto-differentiable adaptive source reconstruction in lens modelling},
@@ -463,3 +499,23 @@ @article{Enzi2026
year = {2026},
url = {https://arxiv.org/abs/2606.30620},
}
+
+@article{He2024,
+ author = {He, Qiuhan and Nightingale, James W and Amvrosiadis, Aris and Robertson, Andrew and Cole, Shaun and Frenk, Carlos S and Massey, Richard and Li, Ran and Cao, Xiaoyue and Lange, Samuel C and França, João Paulo C},
+ title = {Unveiling lens light complexity with a novel multi-Gaussian expansion approach for strong gravitational lensing},
+ journal = {Monthly Notices of the Royal Astronomical Society},
+ year = {2024},
+ doi = {10.1093/mnras/stae1577},
+ volume = {532},
+ pages = {2441-2462},
+}
+
+@article{Oguri2021,
+ author = {Oguri, Masamune},
+ title = {Fast Calculation of Gravitational Lensing Properties of Elliptical Navarro–Frenk–White and Hernquist Density Profiles},
+ journal = {Publications of the Astronomical Society of the Pacific},
+ year = {2021},
+ doi = {10.1088/1538-3873/ac12db},
+ volume = {133},
+ pages = {074504},
+}