-
Notifications
You must be signed in to change notification settings - Fork 7
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
[WIP] Add surface support #106
base: main
Are you sure you want to change the base?
Conversation
… _concat_surf_imgs utility function
…masker method for clarity
…existing test readability
…mat code; remove unused _concat_surf_imgs function
…n and improve code readability
Thanks for opening, @pbarbarant ! Let us know when ready for review ; I think this will hugely improve things 🚀 |
The main difficulty lies in nilearn/nilearn#4756. After that, the new backend should be able to work seamlessly with surface data. |
…es and improve assertions
Will be operational as soon as nilearn/nilearn#4974 closes. |
CI will pass as soon as nilearn's new release rolls out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall.
n_pieces = 2 | ||
n_vertices_total = img.shape[0] | ||
parcel_masker = ParcellationMasker(n_pieces=n_pieces) | ||
fitted_parcel_masker = parcel_masker.fit(img) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fitted_parcel_masker = parcel_masker.fit(img) | |
parcel_masker = parcel_masker.fit(img) |
You can do an early with my branch: I'd rather make sure that the release does not have another bug that this one was hiding. |
Fixes #73.