docs: add light profiles guide at scripts/guides/profiles/light.py#176
Merged
Conversation
Adds a new single-page tour of every light profile available in PyAutoLens (all re-exported from PyAutoGalaxy). Mirrors the autogalaxy_workspace guide but uses al.Tracer to place lens and source bulges on distinct redshift planes and demonstrates tracer.image_2d_from for the model-instance section. Includes dedicated coverage of the newly merged SersicMultipole and GaussianMultipole profiles and a 4-Gaussian Basis (MGE) example. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This was referenced May 18, 2026
2 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new single-page tour of every light profile available in PyAutoLens (all
re-exported from PyAutoGalaxy) at
scripts/guides/profiles/light.py. Mirrors theautogalaxy_workspace version but uses
al.Tracerto place lens + source bulges ondistinct redshift planes and demonstrates
tracer.image_2d_fromfor the model-instance section. Includes dedicated coverage of the newly merged
SersicMultipoleand
GaussianMultipoleprofiles and a 4-GaussianBasis(MGE) example.Motivation: users arriving at the strong-lens modelling examples have no single
reference for what light profiles are available or how they compose into a
Tracer— this fills that gap.
Companion to PyAutoLabs/autogalaxy_workspace#85.
Scripts Changed
scripts/guides/profiles/__init__.py— new, empty package markerscripts/guides/profiles/light.py— new guide (~580 lines, full 10-section walk-through with Tracer-aware sections).script_sizes.json— refreshed to record the new filesUpstream PR
docs/api/light.rst) to match PyAutoGalaxy so the new guide can reference the published docs URL with confidence.Test Plan
PYAUTO_TEST_MODE=2 ... python scripts/guides/profiles/light.pyexits 0 (verified locally before this PR)smoke_tests.txtcurated set still passes (verified locally; the new files are not added to the curated list per the workspace's small-subset policy)scripts/check_sizes.shpasses (snapshot refreshed)/generate_and_mergeafter merge (separate step)🤖 Generated with Claude Code