Skip to content

feat: rectangular mesh split — Bilinear pins regenerated, RTU pin copies kept - #259

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/rectangular-bilinear-rtu-mesh-split
Aug 21, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/rectangular-bilinear-rtu-mesh-split

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

_test follow-up to the PyAutoArray rectangular mesh split (PyAutoLabs/PyAutoArray#462, merged; task PyAutoLabs/PyAutoArray#461; siblings PyAutoLabs/autolens_workspace#495, PyAutoLabs/autogalaxy_workspace#221). Imaging/multi_dataset pin scripts switch to the Bilinear default with regenerated likelihood pins; RTU (kernel-CDF) coverage survives via pure-rename copies with unchanged pins; interferometer/gradient/sparse scripts are pure RTU renames.

Scripts Changed

  • imaging/jax_likelihood/rectangular{,_dspl,_mge}.py, multi_dataset/jax_likelihood/rectangular{,_mge}.py: → RectangularBilinear*, pins regenerated (run under JAX_ENABLE_X64=1 against merged PyAutoArray main):
    • imaging: -644121.021562 → -651692.997799
    • imaging mge: -11.65793201 → -85.41696632
    • imaging dspl: -3823.887477 → -3695.93899659 (the bandwidth=0.1 kwarg is dropped — the rank CDF has no bandwidth; the RTU copy keeps it)
    • multi_dataset: -8903.89296045 → -12932.06852498
    • multi_dataset mge: -3810.18711583 → -6157.55707862
  • New rectangular*_rtu.py copies of those five scripts keep the kernel-CDF meshes pinned under the RectangularRTU* names — pure renames, pin values unchanged.
  • interferometer/**, imaging/jax_grad/**, misc/jax_assertions/sparse_operators.py: pure rename to RectangularRTU* (behaviour and pins unchanged — RTU is the gradient/interferometer mesh).
  • Other imaging-family scripts (visualization, model_fit, convolution, database scrape) follow the new workspace default → RectangularBilinear*.
  • misc/aggregator/config/priors/pixelizations.yaml: stale rectangular.<Class> key rekeyed to the resolving module-path form (both Bilinear and RTU entries).
  • scripts/CLAUDE.md coverage table updated.

Upstream PR

Test Plan

  • All five Bilinear pin scripts re-run green end-to-end (vmap pin + jit(fit_from)/jit(log_likelihood_function) round-trips).
  • rectangular_rtu.py and rectangular_dspl_rtu.py pass with their unchanged pins (pure-rename check).
  • interferometer/jax_likelihood/rectangular.py passes unchanged, including the mass-sensitivity floor and TransformerNUFFT cross-check.
  • Note: pins require JAX_ENABLE_X64=1; the bare-container float32 vmap gives -inf for these scripts even on unmodified main (pre-existing environment trait, unrelated to this change).

Generated by Claude Code

…ies kept

Follow-up to PyAutoArray#462 (rectangular Bilinear/RTU mesh split, task
PyAutoArray#461):

- Imaging/multi_dataset jax_likelihood rectangular* scripts switch to the
  RectangularBilinear* default; likelihood pins regenerated (JAX_ENABLE_X64=1):
  imaging -644121.021562 -> -651692.997799; imaging mge -11.65793201 ->
  -85.41696632; imaging dspl -3823.887477 -> -3695.93899659 (bandwidth
  kwarg dropped — the rank CDF has no bandwidth; see the RTU copy);
  multi_dataset -8903.89296045 -> -12932.06852498; multi_dataset mge
  -3810.18711583 -> -6157.55707862.
- New rectangular*_rtu.py copies of those five pin scripts keep the
  kernel-CDF meshes pinned under the RectangularRTU* names — pure renames,
  pin values unchanged (imaging and dspl copies re-verified green).
- Interferometer, jax_grad and sparse-operator scripts: pure rename to the
  RectangularRTU* names (behaviour and pins unchanged;
  interferometer/jax_likelihood/rectangular.py re-verified green incl. the
  TransformerNUFFT cross-check).
- Other imaging-family scripts (visualization, model_fit, convolution,
  datacube docs, database scrape) follow the workspace default -> Bilinear.
- scripts/misc/aggregator prior yaml: stale "rectangular.<Class>" key (never
  resolved — autonerves matches the real module path via endswith) rekeyed to
  rectangular_bilinear_adapt_density.* and rectangular_rtu_adapt_density.*.
- scripts/CLAUDE.md coverage table updated.

Verified against merged PyAutoArray main: all five Bilinear pin scripts,
rectangular_dspl_rtu.py, and interferometer/jax_likelihood/rectangular.py
pass end-to-end.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WtMqU3JfmyJh8GvB7jT4Et
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Aug 21, 2026 — with Claude
@Jammy2211
Jammy2211 merged commit b18fd38 into main Aug 21, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/rectangular-bilinear-rtu-mesh-split 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.

2 participants