Repository navigation
Corner plot config switches and the latent-parameter descriptions - #100
Merged
Jammy2211 merged 8 commits intoOct 26, 2026
Merged
Conversation
PyAutoFit now labels every parameter with the path of names its component was given in the model (`lens.mass`, `galaxy.bulge`), so components of one class are told apart; the tutorial's sentence and example follow, and it shows the derived-parameter corner plot (`derived=True`). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The config switch is `corner_anesthetic_latent` and the files `corner_anesthetic_latent[_<component>].png`; the plots are made once the fit completes, per component only where one has a latent parameter, and the latent parameters also reach `latent.csv`. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…rner plot after the fit Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…rs switches Mirror the two keys PyAutoFit added when merging #1709: the per-component latent corner plots get their own plots_search.yaml switch, and output.yaml can keep a model's declared latent parameters out of latent.csv / latent.results. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Expose the component and latent corner-plot switches and explain the labels produced by the current libraries. Model-declared latent parameters retain their saved conversion ranges; periodic recentering applies only to plots. Full-sample mode writes
files/latent/samples.csv; PDF-draw mode produces latent summaries instead.Component superscripts distinguish different named galaxy/profile paths; profiles within one path, such as Gaussians in a basis, can share a superscript.
The contributor's existing branch and history are retained. Configuration comments now describe enablement accurately, and generated notebooks follow the canonical scripts.
Scripts Changed
scripts/chapter_2_lens_modeling/tutorial_2_practicalities.pyUpstream PR
e92eea86a8b2a8345b0d0135876df634d05a7865.Validation
Evidence: task worktree
logs/continuation/smoke-validation-summary.jsonandreview/source-review-final.md.Task: PyAutoLabs/autofit_workspace#177. No release or merge is performed by this update; merge remains human-authorized.
Prepared through the PyAutoLabs development workflow on the existing contributor PR.