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

[REF] Use nilearn and images instead of arrays #35

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Feb 24, 2021

Closes #31 and closes #34.

Changes proposed:

  • Allow utils._subsampling() to accept either an array or an image. Ultimately, we may want to limit this to just images, but I haven't done that yet.
  • Use nilearn's masking functions instead of internal implementations.

@tsalo
Copy link
Member Author

tsalo commented Feb 24, 2021

This changes the number of components identified in the integration test from 57 to 74, so it's definitely impacting behavior, which is why I opened this as a draft. I will try to dig into it at some point, but if anyone notices anything, please feel free to comment.

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.

Use nilearn's masking/unmasking functions internally Operate on images in subsampling function
1 participant