Skip to content

Corner plot config switches and the latent-parameter descriptions - #259

Merged
Jammy2211 merged 9 commits into
PyAutoLabs:mainfrom
samlange04:feature/corner-plot-labels
Oct 26, 2026
Merged

Jammy2211 merged 9 commits into
PyAutoLabs:mainfrom
samlange04:feature/corner-plot-labels

Conversation

@samlange04

@samlange04 samlange04 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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.

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/ellipse/modeling.py
  • scripts/guides/plot/searches.py
  • scripts/guides/results/latent_variables.py
  • scripts/imaging/modeling.py
  • scripts/interferometer/modeling.py

Upstream PR

Validation

  • Fresh isolated Heart smoke: 14 scripts and 2 notebooks passed.
  • Five notebooks regenerated and independently checked against canonical source.
  • Three curated pages executed normally with full-resolution data: imaging (5,458 posterior rows), interferometer (2,156 rows), ellipse (21 posterior fits plus two intentional single-draw combined outputs). All 17 image references resolve; corner superscripts and latent summaries visually/structurally verified.
  • Independent source/config/notebook and Galaxy artifact reviews: CLEAN.
  • Interferometer's first attempt received an unexplained external SIGTERM. The human-approved checkpoint retry completed successfully; interruption evidence is retained.
  • Generated Markdown retains nbconvert output whitespace/schema warnings; no Python execution errors or local-home path leaks.
  • Heart remains YELLOW with no RED blockers; unrelated cloud group/slam failure, generated smoke-bootstrap drift, aged PRs and missing release rehearsal are recorded. No release-readiness claim.
  • Current-head CI must be checked before human merge. Galaxy publication remains a shipping gate.

Local evidence: claimed task worktree logs/continuation/galaxy/ and logs/continuation/review/galaxy-artifact-review.md. Configuration prerequisite #264 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.

samlange04 and others added 9 commits October 22, 2026 19:19
… 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>
@Jammy2211
Jammy2211 merged commit fdb22fe into PyAutoLabs:main Oct 26, 2026
15 checks passed
@samlange04
samlange04 deleted the feature/corner-plot-labels branch November 3, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants