feat: herculens power-law parity script via COOLEST#175
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
scripts/coolest_herculens_parity.py(PyAutoLens#616): cross-code validation thatag.mp.PowerLawIntermediateand herculens'sEPLare directly linked through the COOLEST standard — the same template parameters (identitytheta_E, no √q factors) produce numerically matching convergence and deflection angles on a shared grid, including the spherical limit and thefrom_coolest(intermediate=True)round trip. All checks PASS in this session (herculens 0.3.0 installed in the env only; probe confirmed herculens EPLtheta_Eis 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.