Skip to content

feat: COOLEST interop round-trip validation script - #173

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/coolest-standard-support
Jul 17, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/coolest-standard-support

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Adds scripts/coolest_round_trip.py, asserting the COOLEST interop layer (al.interop.coolest, PyAutoLens#612) end-to-end: export→import round trip with numerically identical tracer deflections/images (rtol 1e-6), written-template convention checks (theta_E carries the sqrt(q)(2/(1+q))^(1/(gamma-1)) intermediate-axis factor, phi is East-of-North, shear is a MassField entity), and the NFW kappa_s/rho_c round trip via sigma_crit with a shared cosmology. Requires the coolest package.

Scripts Changed

  • scripts/coolest_round_trip.py — new validation script (all checks print PASS; run this session)

Upstream PR

PyAutoLabs/PyAutoLens#613 (MERGED), PyAutoLabs/PyAutoLens#615 (MERGED)

Test Plan

  • python scripts/coolest_round_trip.py — all PASS lines printed; additive-only change.

Generated by the PyAutoLabs agent workflow.

Round-trip validation of al.interop.coolest (PyAutoLens#613/#615):
tracer deflections/image numerical identity through a COOLEST template,
written-template convention checks (theta_E intermediate-axis factor,
East-of-North phi, shear as a MassField entity), and the NFW sigma_crit
round trip with a shared cosmology.

Part of PyAutoLabs/PyAutoLens#612.

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 8051e8d into main Jul 17, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/coolest-standard-support branch July 17, 2026 07:40
@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