Skip to content

feat: aplt source-plane magnification maps - #816

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

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

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Cluster arc phase 8b (PyAutoArray#673). Re-exports PyAutoGalaxy's plot_magnification_source_plane (a reconstruction's mesh coloured by per-pixel magnification) and plot_magnification_source_plane_grid (square-pixel version for parametric / MGE sources) through autolens.plot.

Depends on PyAutoLabs/PyAutoArray#674 and PyAutoLabs/PyAutoGalaxy#691 — merge those first.

API Changes

autolens.plot.plot_magnification_source_plane and autolens.plot.plot_magnification_source_plane_grid (re-exports). For a multi-plane tracer the square-pixel map is for a source in the last plane.
See full details below.

Test Plan

  • test_autolens full suite: 1020 passed, 1 xfailed (with PyAutoArray#674 + PyAutoGalaxy#691)
  • New tests: mesh map from a fit's mapper + tracer; square-pixel map for a two-plane tracer
Full API Changes (for automation & release notes)

Added

  • autolens.plot.plot_magnification_source_plane(mapper, mass_obj=None, grid=None, ...) — re-export
  • autolens.plot.plot_magnification_source_plane_grid(mass_obj, grid, ...) — re-export

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

Re-exports plot_magnification_source_plane and plot_magnification_source_plane_grid;
tests with a fit's mapper and a two-plane tracer. Arc phase 8b (PyAutoArray#673).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211

Copy link
Copy Markdown
Collaborator Author

Workspace PR: PyAutoLabs/autolens_workspace#615

@Jammy2211
Jammy2211 merged commit 70b317b into main Nov 2, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/magnification-maps-source-plane branch November 2, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant