Skip to content

test: oversampled PSF workspace coverage (phase 3) - #149

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/psf-oversample-workspace
Jul 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/psf-oversample-workspace

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Phase 3 of oversampled PSF convolution (PyAutoLabs/autolens_workspace#232; design PyAutoLabs/PyAutoArray#353): workspace-level numerical coverage of the feature shipped in PyAutoArray#355/#357 and PyAutoGalaxy#481.

Merge gate: PyAutoLabs/PyAutoArray#358 must merge first — the padded-blurring-mask fix these scripts discovered.

Scripts Changed

  • scripts/imaging/convolution_over_sampled.py (new): design ground-truth reference values via the public API (s=1 parity + s=2, ≤1e-12); FitImaging self-consistency at s=2 with s=1 comparison for standard, operated and linear light profiles and a pixelized source (mapping formalism); guard assertions (sparse operator, unequal over-sample sizes, non-int size).
  • scripts/imaging/convolution.py (extended): oversampled (s=2) FFT vs real-space parity — first end-to-end validation of the oversampled JAX path (4.4e-16).

Test Plan

  • Both scripts run end-to-end clean against the branch stack.
  • Curated imaging smoke trio (rectangular/mge/lp JAX likelihoods) pass.
  • No binary leaks (**/images/ gitignored); no new config keys.

Validation checklist (--auto run)

  • Effective level: supervised · Gate: tests 861+944+335 / smoke imaging-trio pass / review CLEAN / heart YELLOW (human-approved ship)
  • Human: merge after PyAutoArray#358, then log the outcome

🤖 Generated with Claude Code

…uards (#232)

convolution_over_sampled.py: design ground-truth reference values pinned via
the public API (s=1 parity + s=2); full FitImaging self-consistency at s=2
with s=1 comparison for standard, operated and linear light profiles and a
pixelized source (mapping formalism); guard assertions (sparse operator,
unequal over-sample size, non-int size).

convolution.py: oversampled (s=2) FFT vs real-space parity section — first
end-to-end validation of the oversampled JAX path (agrees to 4.4e-16).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 8, 2026
@Jammy2211
Jammy2211 merged commit ae57a9e into main Jul 8, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/psf-oversample-workspace branch August 25, 2026 19:00
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 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