Skip to content

render: cluster/multi-source point figures + cluster imaging simulator (PyAutoLens#794) - #14

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/cluster-point-figures
Oct 22, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/cluster-point-figures

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Re-renders every point-source figure with the cluster/multi-source figures of PyAutoLens#794 (issue PyAutoLens#793) and adds what the cluster domain needs to render them in CI.

Upstream PR

Scripts Changed

  • config/visualize/plots.yaml — every point key on (new: fit_per_image, image_with_points, *_combined)
  • scripts/cluster/visualization.py — now drives VisualizerPoint (per source: point_<i>/{dataset, fit, fit_per_image, image_with_points, fit_image_with_points, point_solver}.png; all sources via visualize_before_fit_combined / visualize_combined: top-level {dataset, fit, fit_per_image, image_with_points, fit_image_with_points}.png)
  • scripts/misc/simulators/cluster.py + true_models/cluster.py — also writes the cluster CCD image dataset/cluster/simple/data.fits (400x400 @ 0.2", workspace imaging settings, seeded; visualization only), tracked (1.3 MB); point JSONs unchanged
  • scripts/point_source_{image,source}_chi_squared/visualization.py — keep fit_per_image.png; source-chi producer runs the full (not quick-update) visualize; docstrings follow the new fit.png
  • _viz_cli.py — keep_dataset_and_fit(keep_dirs=...); cluster sentinel data.fits
  • gallery/viz_manifest.yaml, GALLERY.md regenerated (PNG only)

Test Plan

  • bash gallery/gallery_run.sh point_source_image_chi_squared point_source_source_chi_squared cluster — all ok, --check clean
  • ruff check, ruff format --check, pytest scripts/misc/test (17 passed)
  • Note: the lint job runs producers against library main, so it is red until PyAutoLens#794 merges — rerun then
  • After merge: dispatch PyAutoEyes dashboard_refresh.yml

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

Merge after PyAutoLens#794 (library first).

🤖 Generated with Claude Code

https://claude.ai/code/session_019Y6tDwGThyc8UowuncXw88

Jammy2211 and others added 2 commits October 21, 2026 22:24
… + data.fits (PyAutoLens#794)

Config turns every point figure on; producers render fit_per_image and the
cluster all-sources figures (dataset, fit, fit_per_image, image_with_points,
fit_image_with_points) plus per-source folders; cluster simulator writes a
400x400 @ 0.2" data.fits; manifest/GALLERY regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Y6tDwGThyc8UowuncXw88
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Y6tDwGThyc8UowuncXw88
@Jammy2211
Jammy2211 merged commit 689ee32 into main Oct 22, 2026
1 of 2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cluster-point-figures branch October 22, 2026 09:00
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