Skip to content

docs: LaTeX docstrings for all mass profile classes#453

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/mass-profiles-docs
May 26, 2026
Merged

docs: LaTeX docstrings for all mass profile classes#453
Jammy2211 merged 1 commit into
mainfrom
feature/mass-profiles-docs

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Add Sphinx-compatible LaTeX docstrings with mathematical definitions, paper references, and parameter descriptions to every mass profile class in PyAutoGalaxy. Covers total (Isothermal, PowerLaw, dPIE), dark (NFW, gNFW, cNFW), stellar (Sersic, Gaussian, Chameleon), sheets, point masses, and abstract decomposers (MGE, CSE). 26 files, ~1300 lines of documentation. Phase 5 (final) of the mass profiles refactoring epic (#445).

API Changes

None — documentation only. No code logic changed.

Test Plan

  • pytest test_autogalaxy/profiles/mass/ — 406 passed, 0 failed
  • All docstrings use r""" raw strings for LaTeX compatibility
  • Sphinx .. math:: directives used throughout

🤖 Generated with Claude Code

Add Sphinx-compatible LaTeX docstrings with mathematical definitions,
paper references, and parameter descriptions to every mass profile
class: total (Isothermal, PowerLaw, dPIE families), dark (NFW, gNFW,
cNFW), stellar (Sersic, Gaussian, Chameleon), sheets (ExternalShear,
MassSheet, ExternalPotential), point (PointMass, SMBH, SMBHBinary),
and abstract decomposers (MGEDecomposer, MassProfileCSE).

26 files, 1283 insertions. Documentation only — no code logic changed.

Phase 5 (final) of mass profiles refactoring epic (#445).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 26, 2026
@Jammy2211 Jammy2211 merged commit 54d6dfa into main May 26, 2026
6 checks passed
@Jammy2211 Jammy2211 deleted the feature/mass-profiles-docs branch May 26, 2026 10:30
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