Skip to content

Jax to Main!#248

Merged
Jammy2211 merged 197 commits intomainfrom
feature/jax_wrapper
Oct 6, 2025
Merged

Jax to Main!#248
Jammy2211 merged 197 commits intomainfrom
feature/jax_wrapper

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Its finally happened!

This PR merges ~ 2 years of JAX development into main, with unit tests passing and integration scripts running.

Full testing will now be done via the build server.

Jammy2211 and others added 30 commits April 29, 2024 19:40
Switches out `numpy` for `jax.numpy`.
This adds the MGE code needed for the Sersic profile.
Add small radial offset to these two profiles to remove the `nan` values at the center.

For the power law profile use the expansion of the `hyp2f1` function given by Tessore and Metcalf 2015 (eqn 29).
Update doc (merge from jax_wrapper branch)
This change makes the MGE profile work better for near-circular mass profiles.  This is done by using more terms of the continued fraction for large values of `|z|^2`.  This makes the auto grad more accurate and not evaluate to `0` when it should not.
Needed to make the `autolens.Tracer` example work.
@Jammy2211 Jammy2211 merged commit 168bbfe into main Oct 6, 2025
0 of 4 checks passed
@Jammy2211 Jammy2211 deleted the feature/jax_wrapper branch November 30, 2025 16:32
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.

3 participants