Skip to content

test: FitInterferometer parity on the matrix-free interferometer route (PyAutoArray#657) - #670

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/matrix-free-interferometer-wiring
Oct 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/matrix-free-interferometer-wiring

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Companion to PyAutoLabs/PyAutoArray#658 (the matrix-free route PR for PyAutoArray#657, phase 5a of PyAutoArray#638). Tests only: FitInterferometer reaches InversionInterferometerMatrixFree through Settings(interferometer_route="matrix_free") with no PyAutoGalaxy source change, and nothing in the fit, visualizer or output path reads a dense inversion attribute on that route.

Stacked: CI is red until the PyAutoArray PR merges (the new route does not exist on PyAutoArray main). Merge after it, library-first.

API Changes

None — tests only.

Test Plan

  • test_fit_interferometer.py: matrix-free vs FFT route on a 6×6 RectangularUniform + MaternSparse fit, with and without an ordinary Sersic, coefficients 1.0 and 0.01 — reconstruction ~1.2e-11 relative, chi-squared / regularization term / ln det H ≤ 1e-11, log_evidence and figure_of_merit within the SLQ tolerance (0.09–0.14 nats used of 0.55), model_data / residual_map ~2e-11; positive-only parity on a 10×10 mesh with the same zero pattern; a linear light profile and the edge-zeroing combination raise InversionException.
  • model/test_plotter_interferometer.py: the interferometer visualizer runs on a matrix-free fit; dataset / fit / galaxies / inversion / real-space PNGs and FITS written; source_plane_reconstruction_0.csv carries a nan noise-map column.
  • test_autogalaxy/interferometer: 90 passed (82 before).

Heart RED override (development only)

Heart RED at launch and ship; live human authorized the override for this task on 2026-10-26. Exact RED reasons: release validation FAILED (stage integrate); PyAutoHeart/workflows/Release Integrate: failure; PyAutoHeart/workflows/Workspace Smoke: failure; manifest_drift/checks/workspace checkouts (manifest ↔ disk): red; Release readiness: release validation FAILED (stage integrate); autolens: red; Workspace validation: NOT ready — 1429p / 1f / 125s @ cloud#40294511523; test_run: red; Release validation: NOT release_ready — v? profile=? (2026-10-26T07:48:52+00:00); validation_report/stages/integrate: fail; PyAutoBrain: red; PyAutoLens: red; autolens_profiling: red; Worktree drift: 1 orphan / 0 missing / 3 dirty. Branch gates passed: interferometer + analysis + to_inversion tests, black. No release; merge needs its own human /prm after the PyAutoArray PR.

Full API Changes (for automation & release notes)

Removed

  • None

Added

  • None (tests only)

Migration

  • None

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

Covers PyAutoArray#657 (phase 5a of #638) from the fit side: a
rectangular MaternSparse FitInterferometer with
Settings(interferometer_route="matrix_free") matches the FFT sparse
route (reconstruction to 1e-6 of max, evidence within the SLQ
tolerance), positive-only parity, the unsupported configurations raise,
and the interferometer visualizer runs on the route with the noise-map
column written as nan. No source change: the fit reaches the route
through Settings alone.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Oct 26, 2026
@Jammy2211
Jammy2211 merged commit d44a83d into main Oct 26, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/matrix-free-interferometer-wiring branch October 26, 2026 17:28
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Oct 26, 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