Skip to content

docs(api): list SersicMultipole and GaussianMultipole in autosummary#515

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

docs(api): list SersicMultipole and GaussianMultipole in autosummary#515
Jammy2211 merged 1 commit into
mainfrom
feature/multipole-light-profiles

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Docs-only follow-up to PyAutoLabs/PyAutoGalaxy#420 (which adds SersicMultipole and GaussianMultipole to autogalaxy.profiles.light.standard).

Since PyAutoLens re-exports that module as lp, the two new classes are accessible as al.lp.SersicMultipole and al.lp.GaussianMultipole without any code change here. This PR registers them in the Sphinx autosummary table under the Standard [ag.lp] section so they appear in the rendered lens docs alongside Sersic, Gaussian, etc.

API Changes

None — pure documentation entries.

Test Plan

  • docs/api/light.rst lists SersicMultipole and GaussianMultipole in the Standard section
  • al.lp.SersicMultipole and al.lp.GaussianMultipole resolve through the existing re-export at autolens/__init__.py:78

Coordination

Merge after PyAutoLabs/PyAutoGalaxy#420 — the autosummary entries depend on the classes existing in the autogalaxy install picked up by ReadTheDocs.

🤖 Generated with Claude Code

…e autosummary

PyAutoLens re-exports autogalaxy.profiles.light.standard as lp, so the two new
classes added in PyAutoGalaxy#420 (SersicMultipole, GaussianMultipole) are
accessible as al.lp.SersicMultipole and al.lp.GaussianMultipole. This adds the
matching autosummary entries to the lens docs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 18, 2026
@Jammy2211 Jammy2211 merged commit 7a0f5dc into main May 18, 2026
6 checks passed
@Jammy2211 Jammy2211 deleted the feature/multipole-light-profiles branch May 18, 2026 10:20
nataliehogg pushed a commit to nataliehogg/PyAutoLens that referenced this pull request Jun 3, 2026
Add the previously missing Linear, Operated, and Basis autosummary
sections to docs/api/light.rst and add the one-line description to the
Standard section. After this change the file is byte-identical to
PyAutoGalaxy/docs/api/light.rst.

The SersicMultipole and GaussianMultipole profiles merged via PyAutoLabs#515
(and their PyAutoGalaxy linear variants) are exposed on al.lp_linear.*
but previously had no entry on the PyAutoLens API reference page. This
brings the docs in line.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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