Skip to content

render: point positions panels (PyAutoLens#786) - #11

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/point-dataset-positions-panel
Oct 21, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/point-dataset-positions-panel

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Re-renders the point-source and cluster figures against the new positions panels of PyAutoLens#786 (issue PyAutoLabs/PyAutoLens#785).

  • dataset.png: Dataset Positions (point_0) over the PointSolver grid extent (±2.5″ for the point example, ±40″ for the cluster), no axis labels, large filled markers, σ in the legend (Observed (σ = 0.005″)). The 0.005″ noise circles are drawn at true radius, so they are sub-pixel at this extent.
  • fit.png: Fit Positions (point_0) adds model positions (red crosses), residual lines from the fit's own pairing (image-plane chi-squared only, so the true model gives sub-pixel lines), unmatched model images (none for the true model), whole critical curves (thin grey tangential, olive radial) and the mass-profile centres (green +). The source-plane chi-squared fit shows Model (source plane) and no residual lines.
  • Cluster: the producer now passes solver=analysis.solver to PlotterPoint.dataset_point and no longer passes empty curve lists to fit_point, so the fit panel draws the critical curves like the visualizer does. This adds ~2 min per point dataset (~4.5 min for the producer) to the render. AGENTS.md and the producer docstring are updated to match.

Scripts Changed

  • scripts/cluster/visualization.py: passes the solver to dataset_point; critical curves now computed by fit_point; docstring updated.
  • AGENTS.md: cluster note updated (the fit panel draws curves now).
  • Re-rendered PNGs: point_source_image_chi_squared, point_source_source_chi_squared, cluster (dataset.png, fit.png); gallery/viz_manifest.yaml.

Upstream PR

Test Plan

  • ruff check ., ruff format --check ., python gallery/gallery_build.py --check and pytest scripts/misc/test pass locally (17 passed).
  • Three producers rendered against the PyAutoLens#786 worktree and reviewed by eye; mirrored to the Eyes scratch folder.
  • CI lint green after PyAutoLens#786 merges.

Heart readiness at ship: YELLOW, pre-existing and unrelated, acknowledged by the human ("manifest drift: workspace checkouts — 1 mismatch vs PyAutoMind/repos.yaml"; "release validation stale: source moved since rehearsal (PyAutoArray)").

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…uals, curves (PyAutoLens#786)

Re-render point_source_image_chi_squared, point_source_source_chi_squared
and cluster against PyAutoLens#786. The cluster producer passes the solver
to dataset_point and lets fit_point compute the critical curves the
"Fit Positions" panel now draws (~2 min per dataset).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 39a8547 into main Oct 21, 2026
1 of 2 checks passed
@Jammy2211
Jammy2211 deleted the feature/point-dataset-positions-panel branch October 21, 2026 13:25
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