Skip to content

docs: tutorial 6 introduces the HilbertSNR default and AdaptImages.from_result - #141

Open
Jammy2211 wants to merge 1 commit into
mainfrom
feature/adapt-mesh-weighting-workspaces
Open

Jammy2211 wants to merge 1 commit into
mainfrom
feature/adapt-mesh-weighting-workspaces

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Phase 3a of making the adapt-mesh-weighting result the default everywhere (PyAutoLabs/autolens_workspace#693; library PRs merged: PyAutoLabs/PyAutoArray#717, #718, PyAutoLabs/PyAutoGalaxy#763, PyAutoLabs/PyAutoLens#897). Chapter 3 tutorial 6 keeps its weight_power / weight_floor experiments (they teach brightness-weighted sampling), adds a section on why peak-normalised weights struggle (a peak S/N of 250 puts everything below S/N ~67 on the floor) and how HilbertSNR's absolute-S/N point budget and 8-per-pixel cap work, and builds the final modelling chain's adapt images with AdaptImages.from_result(result=..., image_mesh={"source": HilbertSNR(...)}) in place of the S/N 3 cap and a hand-built Hilbert mesh.

Release-gated: uses HilbertSNR / AdaptImages.from_result / soft_snr_maps_from, merged to the libraries' main but not yet released to PyPI. Do not merge until a release carries PyAutoArray, PyAutoGalaxy and PyAutoLens with those PRs.

API Changes

None — workspace content only.

Test Plan

  • tutorial_6_adaptive_reconstruction.py runs under the smoke profile; notebook regenerated (only this notebook and the catalogue entry changed).
  • Full smoke runner (.github/scripts/run_smoke.py) on this branch against library main: 41 passed, 0 failed.

Heart

Scoped dev readiness (--repos HowToLens,HowToGalaxy,autolens_workspace_test,autogalaxy_workspace_test) is GREEN. Shown, non-blocking: release validation FAILED (stage integrate) (red), workspace validation not passing (2 failed, 1 timeout, cloud#45815945322: ...) (yellow). The human authorized a development-only Heart RED override for this task ("Override for phase 3"); the scoped gate was GREEN, so it was not needed. Heart remains RED for release purposes.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

Adds a section on why peak-normalised Hilbert weights struggle and how
HilbertSNR's absolute-S/N point budget works, and builds the final
modelling chain's adapt images with AdaptImages.from_result in place of
the S/N 3 cap and a hand-built Hilbert mesh (autolens_workspace#693).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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