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 abstract array methods #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vsaase
Copy link

@vsaase vsaase commented Sep 8, 2019

Hi,
this adds support for setting indices, slicing and elementwise operations.
Operations with multiple NIVolumes are only allowed if they have the same headers, which is maybe too restrictive and could be releaxed with some further thought.

@vsaase
Copy link
Author

vsaase commented Sep 8, 2019

I think this might break some code. For example it fails when doing something as simple as vol[:] as nifti does not support dimensions larger than what Int16 can hold.

@vsaase
Copy link
Author

vsaase commented Sep 8, 2019

it can also be very slow?

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.

1 participant