Skip to content

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

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

Jammy2211 merged 8 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.

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_modeling/tutorial_2_practicalities.py

Upstream PR

Validation

  • All 32 scripts passed fresh isolated Heart smoke, including the changed chapter 2 practicalities tutorial.
  • Notebook regenerated using Hands and independently checked against source. This tutorial is outside the curated Markdown manifest; no executed Markdown page is required.
  • Independent source/config/notebook review: CLEAN; strict YAML parsing and effective-value checks passed.
  • Heart remains YELLOW with no RED blockers; existing unrelated findings recorded in the task evidence. No release-readiness claim.
  • Current-head CI must pass before human merge; shipping remains gated on the Galaxy release.

Evidence: task worktree logs/continuation/smoke-validation-summary.json and review/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.

samlange04 and others added 8 commits October 22, 2026 19:19
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>
…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 286e6be 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