Skip to content

refactor: unify the blurred-image evaluate/pre-bin/convolve tail#489

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/kxs-surface-refactor
Jul 9, 2026
Merged

refactor: unify the blurred-image evaluate/pre-bin/convolve tail#489
Jammy2211 merged 1 commit into
mainfrom
feature/kxs-surface-refactor

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

The proper Refactor Agent pass on the k×s surface (#488; decision: too-large → conservative cut). One _convolved_from_evaluations core replaces the tail re-implemented in all three blurred-image variants. PyAutoArray surface assessed clean, no edits (details on the issue). Witnesses all green unchanged: PyAutoGalaxy 956 / PyAutoArray 867 / PyAutoLens 347 / the 14-section workspace k×s script. Zero test edits, no API change.

🤖 Generated with Claude Code

…ge variants (#488)

Proper Refactor Agent run on the k x s surface (RefactorDecision: too-large
-> conservative cut; invariant = witnesses unchanged). The three
blurred-image variants each re-implemented the same tail; one
_convolved_from_evaluations core now carries it (oversampled: pre-bin +
fine convolution; regular: delegate to _blurred_image_2d_from). The dict
variant's s=1 path now routes through _blurred_image_2d_from — the same
psf.convolved_image_from call it made directly, verified identical by the
witnesses.

PyAutoArray surface assessed in place, no edits: the util pair, mapper
property/method pair and divisibility validator are each single-purpose and
already minimal; the segment-mean xp split intentionally mirrors
OverSampler.binned_array_2d_from. Recorded on #488.

Witnesses: PyAutoGalaxy 956 / PyAutoArray 867 / PyAutoLens 347 / full
convolution_over_sampled.py (14 sections) — all unchanged, zero test edits.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 9, 2026
@Jammy2211 Jammy2211 merged commit 6064b41 into main Jul 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant