Skip to content

feat: real-data A2744 weak lensing example (weak series step 7b) - #253

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/weak-real-data
Jul 9, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/weak-real-data

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

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-shear WeakDataset via 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

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>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 9, 2026
@Jammy2211
Jammy2211 merged commit 70ef7d8 into main Jul 9, 2026
8 checks passed
@Jammy2211
Jammy2211 deleted the feature/weak-real-data branch July 9, 2026 14:01
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
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