feat: real-data A2744 weak lensing example (weak series step 7b)#253
Merged
Conversation
scripts/weak/real_data/a2744.py — the first PyAutoLens weak-lensing analysis of real sky data: downloads the public pyRRG A2744 shape catalogue (pinned commit, provenance documented; not redistributed), projects RA/Dec to the tangent plane, applies standard quality cuts (6585 -> 382 usable shapes), builds a reduced-shear WeakDataset via the new from_arrays loader, shows the model-independent Kaiser-Squires map, and fits a spherical NFW with Nautilus. Framed honestly: training-data-grade depth gives a marginal (~1.5 sigma) tangential signal with the correct radial concentration and a null B-mode — the example demonstrates the real-data workflow, which transfers unchanged to deep survey catalogues via WeakDataset.from_fits/from_csv. Step 7b of the weak-lensing series (PyAutoLabs/PyAutoLens#588). Co-Authored-By: Claude Fable 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
scripts/weak/real_data/a2744.py— the first PyAutoLens weak-lensing analysis of real sky data, completing the weak-lensing series. Downloads the public pyRRG A2744 shape catalogue (commit-pinned URL, provenance documented, file not redistributed), projects RA/Dec to the tangent plane, applies the standard quality cuts (6585 → 382 usable shapes), builds a reduced-shearWeakDatasetvia the step-7a loaders (PyAutoLabs/PyAutoLens#589, merged), shows the model-independent Kaiser-Squires map, and fits a spherical NFW with Nautilus. Honest framing throughout: training-data-grade depth yields a marginal (~1.5σ) tangential signal with the correct radial concentration and a null B-mode — the example demonstrates the real-data workflow, which transfers unchanged to deep survey catalogues. Tracking issue: PyAutoLabs/PyAutoLens#588.Scripts Changed
scripts/weak/real_data/a2744.py(new) — validated end-to-end twice (initial run + rerun after the radial window/framing revision; full Nautilus fit each time).llms-full.txt/workspace_index.json— catalogue regenerated in-branch.Validation checklist (--auto run)
🤖 Generated with Claude Code