Skip to content

feat: aplt.plot_magnification_2d for tracers - #815

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

Jammy2211 merged 1 commit into
mainfrom
feature/magnification-maps-image-plane

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Cluster arc phase 8a (PyAutoGalaxy#689). Re-exports PyAutoGalaxy's new plot_magnification_2d through autolens.plot, so a Tracer (single galaxy, group or cluster) gets the log10 |mu| image-plane map with constant-mu contours and critical curves.

Depends on PyAutoLabs/PyAutoGalaxy#690 — merge that first.

API Changes

autolens.plot.plot_magnification_2d is now available (re-export from PyAutoGalaxy). For a multi-plane tracer it maps the magnification of a source in the last plane.
See full details below.

Test Plan

  • test_autolens full suite: 1018 passed, 1 xfailed (with PyAutoGalaxy#690 on the path)
  • New tests: two-plane tracer writes magnification_2d.png; three-plane tracer draws the contours
Full API Changes (for automation & release notes)

Added

  • autolens.plot.plot_magnification_2d(mass_obj, grid, ...) — re-export of autogalaxy.plot.plot_magnification_2d.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

Re-exports PyAutoGalaxy's image-plane magnification map so Tracers can use
it directly; tests cover two- and three-plane tracers (arc phase 8a,
PyAutoGalaxy#689).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Nov 2, 2026
@Jammy2211

Copy link
Copy Markdown
Collaborator Author

Workspace PR: PyAutoLabs/autolens_workspace#614

@Jammy2211
Jammy2211 merged commit ef7f573 into main Nov 2, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/magnification-maps-image-plane branch November 2, 2026 14:15
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Nov 4, 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