GalSim icon indicating copy to clipboard operation
GalSim copied to clipboard

TST fix tests for JAX-Galsim

Open beckermr opened this issue 2 years ago • 2 comments

This PR has two main features:

  1. It has a generalization of the concept of a "galsim backend" with associated functions for the test suite only. In the test suite only, the backend is used to adjust the tests as needed for the jax-based galsim implementation.

  2. It has adjustments of the tests for jax-galsim. Most of them are related to cases where jax cannot raise the same errors (e.g., for checking argument types) or when the fact that jax arrays cannot be changed in place causes the APIs to differ.

beckermr avatar Oct 15 '23 14:10 beckermr

The commits here need to be rebased onto main I think.

beckermr avatar Oct 15 '23 14:10 beckermr

ok @rmjarvis This giant PR is ready for review. I can break it up into smaller PRs if that would help. My hope is that with this PR, we can run jax-galsim tests against the main branch going forward.

beckermr avatar Aug 26 '24 21:08 beckermr