Skip to content

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

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

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 shipped by PyAutoGalaxy at
scripts/guides/profiles/light.py. The guide walks through the five namespaces
(ag.lp, ag.lp_linear, ag.lp_operated, ag.lp_basis, ag.lp_snr), gives a
detailed Sersic example, dedicates a section to the newly-merged SersicMultipole
and GaussianMultipole profiles (PyAutoGalaxy PRs #420 / #421), explains the
Basis grouping object via a 4-Gaussian MGE example, and ends with a compact
image_2d_from walkthrough of every remaining standard profile.

Motivation: users currently have to discover profiles piecemeal from the modelling
examples and the API reference — there is no single page that says "here are all
the light profiles, here is how to use each one".

Closes the workspace half of #85.

Scripts Changed

  • scripts/guides/profiles/__init__.py — new, empty package marker
  • scripts/guides/profiles/light.py — new guide (~530 lines, full 10-section walk-through)
  • .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 shipped by
PyAutoGalaxy: the five namespaces (ag.lp, ag.lp_linear,
ag.lp_operated, ag.lp_basis, ag.lp_snr), a detailed Sersic example,
a dedicated section for the newly merged SersicMultipole and
GaussianMultipole profiles (PRs #420 / #421), a Basis section
demonstrating a 4-Gaussian MGE composition, and a compact
image_2d_from walkthrough of every remaining standard profile.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant