Repository navigation
Corner plot config switches and the latent-parameter descriptions - #595
Merged
Jammy2211 merged 11 commits intoOct 26, 2026
Merged
Conversation
… labels `plots_search.yaml` gains PyAutoFit's two new nest switches: one corner plot per top-level model component (on) and the derived-parameter corner plots (off). `notation.yaml` gives gamma_1 / gamma_2 distinct labels (both were \gamma) and labels for the derived parameters the new plots show (axis ratio q, angle \phi, shear magnitude \gamma, multipole k_m / phi_m, k_3 / phi_3 / k_4 / phi_4). The modeling scripts describe the superscript as the path of names a component was given in the model (`lens.mass`, `galaxy.bulge`) and show `corner_anesthetic(..., derived=True)`; the plot guide describes the same rule. Pairs with PyAutoFit's `fix/corner-anesthetic-duplicate-labels` and PyAutoGalaxy's `feature/derived-parameters` branches. 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/group/modeling.pyscripts/guides/plot/searches.pyscripts/guides/results/latent_variables.pyscripts/imaging/modeling.pyscripts/interferometer/modeling.pyscripts/multi_galaxy/modeling.pyscripts/point_source/modeling.pyUpstream PR
e92eea86a8b2a8345b0d0135876df634d05a7865.Validation
markdown/group/modeling.mdwas not regenerated and remains the previous artifact. No group convergence or fresh rendered-output claim is made.Evidence: task worktree
logs/continuation/smoke-validation-summary.json,review/, andlens/. Configuration prerequisite #602 is merged and incorporated.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.
Group SLaM smoke repair — 2026-10-26
The ordinary smoke profile bypassed sampling, yielding zero fitted member luminosity and an invalid zero-width dispersion prior in
scripts/group/slam.py(Heart run 40294511523). Its release-profile run already passed in 140.79 seconds. Add a singleconfig/build/profile_smoke.yamloverride so this script uses reduced real sampling (PYAUTO_TEST_MODE=1), preserving scientific priors and all other smoke settings.Validation: canonical isolated Heart smoke on a fresh scratch dataset passed the unchanged script in 64.7 seconds; source SHA256 matches the task script. Strict environment-profile validation returned 0 errors / 0 warnings. Effective-environment comparison across every workspace script confirms only this script changes, solely mode 2 → 1. No notebooks require regeneration for this configuration-only addition. Current-head CI must pass; Galaxy #656 publication remains the merge gate.
Heart RED development override for this continuation
Live human authorization, 2026-10-26: "Authorize development override", responding to the explicit request covering both CI fixes and development addressing the release blockers needed for the Galaxy dependency. Human also requested all backlog resolution except Pulse. This permits development shipping, not release through RED or a CI bypass. No merge is performed by this update.
Exact currently published RED reasons: