Skip to content

docs: add light profiles guide at scripts/guides/profiles/light.py#176

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/light-profiles-guide
May 18, 2026
Merged

docs: add light profiles guide at scripts/guides/profiles/light.py#176
Jammy2211 merged 1 commit into
mainfrom
feature/light-profiles-guide

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

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 the
autogalaxy_workspace version but uses al.Tracer to place lens + 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.

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 marker
  • scripts/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 files

Upstream PR

Test Plan

  • Smoke run: PYAUTO_TEST_MODE=2 ... python scripts/guides/profiles/light.py exits 0 (verified locally before this PR)
  • Workspace smoke_tests.txt curated 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.sh passes (snapshot refreshed)
  • Notebooks regenerated by /generate_and_merge after merge (separate step)

🤖 Generated with Claude Code

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)
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 18, 2026
@Jammy2211 Jammy2211 merged commit 98c61a2 into main May 18, 2026
6 checks passed
@Jammy2211 Jammy2211 deleted the feature/light-profiles-guide branch May 18, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant