Skip to content

docs: mesh_magnification — DelaunayNN integrates its Sibson basis - #359

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/sibson-internal-edge-continuity
Nov 9, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/sibson-internal-edge-continuity

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Companion to PyAutoArray#685 (issue PyAutoArray#610, Sibson weights at internal edges). PR 2 of 2, split by repo per the approved plan. Documentation only; no assertion or tolerance changes.

PyAutoArray#685 corrects the Sibson weights at internal Delaunay edges and switches DelaunayNN's areas_for_magnification from the Delaunay dual areas to integrals of its own Sibson basis functions (the kNN quadrature from #665). The script's docstring and its DelaunayNN tolerance comment described the old dual-area behaviour and old measurements.

DelaunayNN lensed identity
before (main) −0.27% −0.41%
#685 with dual areas (not shipped) −0.27% −2.65% (fails the 1% tolerance)
#685 as shipped (basis integrals) −0.23% +0.04%

Scripts Changed

  • scripts/imaging/mesh_magnification.py: the docstring now says DelaunayNN integrates its Sibson basis, and why the dual areas were dropped. The tolerance comment now carries the new measurement (−0.23%, +0.04%). The tolerance itself is unchanged at 1%.

Upstream PR

PyAutoLabs/PyAutoArray#685. Library-first: merge it before this PR.

Test Plan

  • imaging/mesh_magnification.py passes against the #685 library, DelaunayNN −0.23% / +0.04%, with every other mesh's row unchanged.
  • With #685 in place, the full smoke list, every imaging and interferometer jax_likelihood script, and the DelaunayNN assertions pass 51/51 (run on the test: re-pin jax_likelihood figures of merit for pseudo-determinant log det H #358 branch, whose pins include #683). No other workspace pins move for this change.
  • CI smoke legs will be red until PyAutoHeart's shared smoke-tests.yml gets its missing import warnings (Mind prompt draft/bug/pyautoheart/smoke_tests_cache_state_step_missing_warnings_import.md), as on autolens_workspace_test#358.

Generated by the PyAutoLabs agent workflow.


Generated by Claude Code

@Jammy2211
Jammy2211 merged commit 5857d49 into main Nov 9, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/sibson-internal-edge-continuity branch November 9, 2026 14:41
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