Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoring canonical GalSim Image API #47

Merged
merged 5 commits into from
Jul 23, 2023
Merged

Restoring canonical GalSim Image API #47

merged 5 commits into from
Jul 23, 2023

Conversation

EiffL
Copy link
Member

@EiffL EiffL commented Jul 22, 2023

This PR aims to revert some of the recent changes that have modified the API for galsim.Image. The hope here is that we can retain the original API, while making sure we can still jit and vmap when and where we need it.

jax_galsim/position.py Outdated Show resolved Hide resolved
@EiffL EiffL marked this pull request as ready for review July 22, 2023 22:14
@EiffL
Copy link
Member Author

EiffL commented Jul 22, 2023

Ok, all tests on main now work with the original API :-)

Copy link
Collaborator

@ismael-mendoza ismael-mendoza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@ismael-mendoza ismael-mendoza merged commit 7040dd1 into main Jul 23, 2023
2 checks passed
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.

ensure constructors in Image class operations use __init__ not .init Image class differs on Galsim API
2 participants