Skip to content

feat: declare Pixelization.__solved_parameters__ for model figures (PyAutoLens#736) - #550

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/model-figures-lens
Sep 11, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/model-figures-lens

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

PyAutoArray half of model-figures phase 3 (PyAutoLens#736). PyAutoFit's graph_spec now reads a class attribute __solved_parameters__ (PyAutoFit sibling PR) and draws each declared name as a solved pill. Pixelization declares ("reconstruction",): the source reconstruction is solved by the inversion, so the figure no longer shows the pixelization as a component with nothing sampled. One class attribute; no runtime behaviour changes.

API Changes

Added class attribute Pixelization.__solved_parameters__ = ("reconstruction",) (consumed by PyAutoFit's model figures). See full details below.

Test Plan

  • test_autoarray/inversion 545 passed (serial, task worktree); black clean.
  • Rendered with real classes in PyAutoLens' test_autolens/model_figure (19 passed): reconstruction · solved on the Pixelization card.
  • CI.
Full API Changes (for automation & release notes)

Added

  • autoarray.inversion.pixelization.Pixelization.__solved_parameters__ = ("reconstruction",) — protocol attribute read by autofit.graph_spec.

Migration

  • None.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_0178yLU9v19GtACcRPFggjGa

…ens#736)

The source reconstruction is solved by the inversion, not sampled. Declaring
it through PyAutoFit's new `__solved_parameters__` protocol lets the model
figure draw a dashed `reconstruction · solved` pill on the Pixelization card
instead of an empty component. One class attribute, no behaviour change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178yLU9v19GtACcRPFggjGa
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 11, 2026
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