Skip to content

feat: herculens power-law parity script via COOLEST - #175

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/coolest-powerlaw-herculens
Jul 17, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/coolest-powerlaw-herculens

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Adds scripts/coolest_herculens_parity.py (PyAutoLens#616): cross-code validation that ag.mp.PowerLawIntermediate and herculens's EPL are directly linked through the COOLEST standard — the same template parameters (identity theta_E, no √q factors) produce numerically matching convergence and deflection angles on a shared grid, including the spherical limit and the from_coolest(intermediate=True) round trip. All checks PASS in this session (herculens 0.3.0 installed in the env only; probe confirmed herculens EPL theta_E is the COOLEST intermediate-axis convention exactly).

Scripts Changed

  • scripts/coolest_herculens_parity.py — new cross-code parity validation script (run this session, all PASS)

Upstream PR

PyAutoLabs/PyAutoGalaxy#503, PyAutoLabs/PyAutoLens#617 — merge library first

Test Plan

  • python scripts/coolest_herculens_parity.py — 5 PASS lines; additive-only change (no existing script touched).

Generated by the PyAutoLabs agent workflow.

…ia COOLEST

Cross-code validation of PowerLawIntermediate <-> herculens EPL through a
shared COOLEST template: identity theta_E mapping, convergence and
deflection-angle parity on a shared grid, spherical limit, and the
from_coolest(intermediate=True) round trip. herculens installed in this
env only (never a library dependency).

Part of PyAutoLabs/PyAutoLens#616.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 17, 2026
@Jammy2211
Jammy2211 merged commit 3f4c2e5 into main Jul 17, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/coolest-powerlaw-herculens branch July 17, 2026 08:08
@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