Skip to content

Commit 5e2bc0f

Browse files
authored
Merge pull request #550 from PyAutoLabs/feature/model-figures-lens
feat: declare Pixelization.__solved_parameters__ for model figures (PyAutoLens#736)
2 parents 667deed + 3c40e23 commit 5e2bc0f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

autoarray/inversion/pixelization.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99

1010
class Pixelization:
11+
# The source reconstruction is solved for by the inversion, not sampled by
12+
# the non-linear search, so it has no prior and never appears in
13+
# `model.info`. PyAutoFit's `graph_spec` reads this class attribute (the
14+
# `__solved_parameters__` protocol) to draw `reconstruction` as a `solved`
15+
# row in model figures.
16+
__solved_parameters__ = ("reconstruction",)
17+
1118
def __init__(
1219
self,
1320
mesh: AbstractMesh,

0 commit comments

Comments
 (0)