Skip to content

render: point-source fit.png with the Fit Source Plane panel - #13

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/point-fit-source-plane-panel
Oct 21, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/point-fit-source-plane-panel

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Re-renders every point-source fit.png with the new Fit Source Plane panel (PyAutoLabs/PyAutoLens#789): the observed positions traced to the point's own plane, numbered 1..N as on the image plane and point_solver.png, with the source centre, caustics and a tangential-caustic inset.

  • point_source_image_chi_squared/fit.png — image-plane χ²: context-only panel, no noise footprints or χ².
  • point_source_source_chi_squared/fit.png — source-plane χ² (magnification weighting): σ/|μ| circles primary, dashed darker-orange A·σ ellipses as propagated-noise reference, χ² = 10,023 in the legend (the only χ² shown); the "Model (source plane)" crosses are gone from the image plane.
  • cluster/point_0, point_1 fit.png — each point against its own plane's caustics (point_0 at z=1, point_1 at z=2); inset frames the tangential caustic only; milli-arcsecond ticks distinct (e.g. 1.1997″ / 1.2004″ / 1.2011″).

point_solver.png files are byte-identical (shared numbering refactor is behaviour-preserving). Producer docstrings + AGENTS.md describe the panel.

Upstream PR

This PR merges last. Its lint job renders against library mains, so it is red until both library PRs merge — re-run then.

Scripts Changed

  • scripts/point_source_image_chi_squared/visualization.py (docstring)
  • scripts/point_source_source_chi_squared/visualization.py (docstring)
  • scripts/cluster/visualization.py (docstring)
  • re-rendered PNGs + gallery/viz_manifest.yaml; AGENTS.md

Test Plan

  • ruff check ., ruff format --check ., python gallery/gallery_build.py --check clean
  • three domains rendered against the worktree libraries; re-render reproducible (identical sha256)

🤖 Generated with Claude Code

…ens#789)

Re-render point_source_image_chi_squared, point_source_source_chi_squared and
cluster fit.png against PyAutoLens#790 / PyAutoArray#653; producer docstrings
and AGENTS.md describe the new panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (PyAutoLens#790)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 279ece6 into main Oct 21, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/point-fit-source-plane-panel branch October 21, 2026 17:23
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.

1 participant