Repository navigation
feat: export the S/N map adapt functions from autolens - #897
Merged
Merged
Conversation
al.galaxy_snr_maps_from and al.soft_snr_maps_from (PyAutoGalaxy#763),
next to galaxy_name_image_dict_via_result_from, plus a test fitting a
simulated lens with a HilbertSNR mesh, soft S/N maps and AdaptSplit,
with full and short ("source") galaxy keys giving the same likelihood.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 2 of making the adapt-mesh-weighting result the default everywhere (PyAutoLabs/PyAutoGalaxy#762). Exports
al.galaxy_snr_maps_fromandal.soft_snr_maps_fromfrom PyAutoLabs/PyAutoGalaxy#763, so workspace scripts can use them asal.*.al.AdaptImages.from_resultandal.image_mesh.HilbertSNRalready work through the existing exports. Depends on PyAutoLabs/PyAutoArray#718 and PyAutoLabs/PyAutoGalaxy#763 (same branch name; merge those first).API Changes
Adds two names to the
autolensnamespace; nothing else changes. See full details below.Test Plan
test_autolens/analysis/test_adapt_snr_maps.py: exports exist; a simulated lens fitted throughAnalysisImagingwith aHilbertSNR(pixels=60, edge_pixels=12)mesh,soft_snr_maps_fromadapt images andAdaptSplit, keyed by the full and the short ("source") galaxy name, gives a finite and identical log likelihood.test_autolens: 1184 passed, 1 xfailed.Heart
Scoped dev readiness (
--repos PyAutoLens) is GREEN. Shown, non-blocking:release validation FAILED (stage integrate),workspace validation not passing (2 failed, 1 timeout, cloud#45815945322: ...). Heart remains RED for release purposes.Full API Changes (for automation & release notes)
Added
autolens.galaxy_snr_maps_from— re-export ofautogalaxy.galaxy_snr_maps_from.autolens.soft_snr_maps_from— re-export ofautogalaxy.soft_snr_maps_from.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code