Skip to content

docs: magnification uncertainty map in every source_science script (arc phase 8c) - #616

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/magnification-maps-uncertainty
Nov 2, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/magnification-maps-uncertainty

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Cluster arc phase 8c (PyAutoGalaxy#692). Every source science example (all 11, human scope 2026-11-02) now maps the error of the magnification at every image-plane pixel: the phase-7b posterior-draw loop also stores each draw's magnification map on the dataset's grid, and a new section plots the fractional error with the best-fit contours of constant magnification (LEGGOS II figure 4).

Scripts Changed

  • scripts/imaging/source_science.py — draw loop stores per-draw magnification maps; new __Magnification Uncertainty Map__ section with the full explanation
  • scripts/imaging/features/multi_gaussian_expansion/source_science.py — same loop change; short section pointing to the imaging example
  • scripts/imaging/features/pixelization/source_science.py — same
  • scripts/interferometer/source_science.py — same
  • scripts/interferometer/features/pixelization/source_science.py — same
  • scripts/multi_galaxy/source_science.py — same
  • scripts/multi_galaxy/features/multi_gaussian_expansion/source_science.py — same
  • scripts/multi_galaxy/features/pixelization/source_science.py — same
  • scripts/group/source_science.py — same
  • scripts/group/features/multi_gaussian_expansion/source_science.py — same
  • scripts/group/features/pixelization/source_science.py — same
  • llms-full.txt, workspace_index.json — navigator catalogue regenerated

Upstream PR

PyAutoLabs/PyAutoGalaxy#693
PyAutoLabs/PyAutoLens#817

Test Plan

  • All 11 scripts smoke-tested locally (exit 0)
  • Full run of imaging/source_science.py (fit + 100 draws at 1.84 s each): median sigma/|mu| 0.23% (|mu| 1-3), 0.50% (3-10), 2.0% (10-30), 8.8% (>30, on the critical curve)
  • CI after the two library PRs merge (CI smoke does not run these scripts)

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

The posterior-draw loop stores each draw's magnification map on the
dataset grid; a new section plots the per-pixel fractional error with the
best-fit contours (LEGGOS II figure 4). All 11 scripts; catalogue
regenerated. Arc phase 8c (PyAutoGalaxy#692).

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