Skip to content

feat: rectangular mesh split follow-up — RTU/Bilinear prior configs + docs - #579

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

feat: rectangular mesh split follow-up — RTU/Bilinear prior configs + docs#579
Jammy2211 merged 1 commit into
mainfrom
feature/rectangular-bilinear-rtu-mesh-split

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Downstream follow-up to the PyAutoArray rectangular mesh split (PyAutoLabs/PyAutoArray#462, merged; task PyAutoLabs/PyAutoArray#461). PyAutoGalaxy ships packaged prior-config defaults keyed by the renamed classes, so without this the new class names have no library-side default priors.

API Changes

None — internal changes only (packaged config defaults, docs, docstrings; no Python API change).

Test Plan

  • Full test suite against merged PyAutoArray main: 1102 passed, 1 skipped.
  • Prior-config key resolution verified empirically: the old rectangular.<Class> module-prefixed keys in the test pixelizations.json configs never resolved (autonerves JSONPriorConfig matches on the real module path via endswith); they are rekeyed to rectangular_bilinear_adapt_density.RectangularBilinearAdaptDensity / rectangular_rtu_adapt_density.RectangularRTUAdaptDensity, which do resolve.
Changes
  • autogalaxy/config/priors/mesh/: rectangular_adapt_density.yamlrectangular_rtu_adapt_density.yaml, rectangular_adapt_image.yamlrectangular_rtu_adapt_image.yaml (top-level keys renamed to the RTU class names); new rectangular_bilinear_adapt_density.yaml / rectangular_bilinear_adapt_image.yaml with the same priors (the Bilinear meshes have no bandwidth/n_knots).
  • docs/api/pixelization.rst: lists all four adaptive rectangular classes.
  • autogalaxy/exc.py: docstring name update.
  • test_autogalaxy/profiles/{config,mass/config}/summary/priors/pixelizations.json: stale key fix (above).

Generated by the PyAutoLabs agent workflow.


Generated by Claude Code

… docs

Downstream of PyAutoArray#462 (rectangular Bilinear/RTU mesh split, task
PyAutoArray#461):

- Packaged prior defaults: config/priors/mesh/rectangular_adapt_*.yaml ->
  rectangular_rtu_adapt_*.yaml plus new rectangular_bilinear_adapt_*.yaml
  (same priors — the Bilinear meshes have no kernel hyperparameters).
- docs/api/pixelization.rst lists all four adaptive rectangular classes.
- exc.py docstring updated to the RTU name.
- test config pixelizations.json keys: the stale "rectangular.<Class>"
  module-prefixed keys never resolved (autonerves matches on the real
  module path via endswith); rekeyed to
  rectangular_bilinear_adapt_density.RectangularBilinearAdaptDensity and
  rectangular_rtu_adapt_density.RectangularRTUAdaptDensity.

Full test suite: 1102 passed against merged PyAutoArray main.

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 7e3856d into main Aug 21, 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.

2 participants