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

Find a way to avoid customizing map_coordinates #342

Open
astrofrog opened this issue Feb 28, 2023 · 2 comments
Open

Find a way to avoid customizing map_coordinates #342

astrofrog opened this issue Feb 28, 2023 · 2 comments

Comments

@astrofrog
Copy link
Member

We have a wrapper of map_coordinates in array_utils.py which pads the array before being called - however this causes the input array to be loaded into memory, whereas if we didn't do this map_coordinates from scipy could deal well with memory-mapped arrays.

We should explore this again and see if we can avoid having to include this wrapper.

@Cadair
Copy link
Member

Cadair commented Mar 1, 2023

Also presumably dropping the wrapper would help with the future use of any dask-image variant of map_coordinates?

@astrofrog
Copy link
Member Author

Indeed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants