feat: declare Pixelization.__solved_parameters__ for model figures (PyAutoLens#736) - #550
Merged
Merged
Conversation
…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
Collaborator
Author
This was referenced Sep 11, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PyAutoArray half of model-figures phase 3 (PyAutoLens#736). PyAutoFit's
graph_specnow reads a class attribute__solved_parameters__(PyAutoFit sibling PR) and draws each declared name as asolvedpill.Pixelizationdeclares("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/inversion545 passed (serial, task worktree); black clean.test_autolens/model_figure(19 passed):reconstruction · solvedon the Pixelization card.Full API Changes (for automation & release notes)
Added
autoarray.inversion.pixelization.Pixelization.__solved_parameters__ = ("reconstruction",)— protocol attribute read byautofit.graph_spec.Migration
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_0178yLU9v19GtACcRPFggjGa