Skip to content

Add subplot_fit_quick for interferometer quick updates - #549

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/interferometer-fit-quick
May 27, 2026
Merged

Add subplot_fit_quick for interferometer quick updates#549
Jammy2211 merged 1 commit into
mainfrom
feature/interferometer-fit-quick

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Adds a 6-panel subplot_fit_quick for interferometer data, matching the imaging equivalent. Layout:

┌──────────────┬──────────────┬──────────────┐
│ Dirty Image  │ Dirty Model  │ Dirty Norm   │
│ (data)       │ Image        │ Residual     │
├──────────────┼──────────────┼──────────────┤
│ Vis Norm Res │ Vis Norm Res │ Source Plane │
│ (Real)       │ (Imag)       │ / Recon      │
└──────────────┴──────────────┴──────────────┘

Uses raw imshow + scatter on pre-converted numpy arrays for sub-second rendering. Visibility scatter panels use rasterized=True for speed with large UV datasets. Quick updates now call subplot_fit_quick instead of subplot_fit_dirty_images.

API Changes

New function autolens.interferometer.plot.fit_interferometer_plots.subplot_fit_quick. The plotter's quick-update branch now calls this instead of subplot_fit_dirty_images.

Test Plan

  • Profiling: SMA dataset renders in 1.6s, end-to-end 4.0s
  • Manual: check fit_quick.png output for interferometer data
  • pytest test_autolens/

🤖 Generated with Claude Code

6-panel (2x3) fast-render subplot for interferometer data:
Top row: Dirty Image, Dirty Model Image, Dirty Normalized Residual
Bottom row: Vis Norm Residual (Real) scatter, Vis Norm Residual (Imag)
scatter, Source Plane / Reconstruction

Uses raw imshow + scatter on pre-converted numpy arrays (same approach
as imaging subplot_fit_quick). Visibility scatter panels use rasterized
rendering for speed with large UV datasets.

Quick updates now call subplot_fit_quick instead of the heavier
subplot_fit_dirty_images.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 27, 2026
@Jammy2211
Jammy2211 merged commit d67a7e1 into main May 27, 2026
6 checks passed
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
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