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

Implement `__array__` and `__array_ufunc__` on itk.Image #1092

Open
thewtex opened this issue Jul 14, 2019 · 2 comments

Comments

@thewtex
Copy link
Member

commented Jul 14, 2019

Support direct use with NumPy while preserving metadata.

See pandas.Series, xarray (?), and work from @danielballan on Dask for reference.

@danielballan

This comment has been minimized.

Copy link

commented Jul 14, 2019

That work is this documentation in numpy, which as of this writing is still a PR: https://github.com/numpy/numpy/pull/13979/files

@thewtex thewtex added this to the ITK v5.1b01 milestone Aug 9, 2019

@thewtex

This comment has been minimized.

Copy link
Member Author

commented Aug 14, 2019

__array__ added in #1158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.