-
Notifications
You must be signed in to change notification settings - Fork 306
ENH: Resample BOLD data to any surface template space using the Connectome Workbench #3461
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3461 +/- ##
==========================================
- Coverage 73.64% 72.85% -0.80%
==========================================
Files 60 60
Lines 4759 4819 +60
Branches 616 624 +8
==========================================
+ Hits 3505 3511 +6
- Misses 1111 1164 +53
- Partials 143 144 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ectome workbench.
…nd init_wb_surf_surf_wf.
@mgxd Thank you very much for taking care of this. Note that the final API of the smriprep PR (nipreps/smriprep#473) is different from the original one, particularly the part regarding TemplateFlow. I haven't examined if the code of this PR needs to be updated accordingly. |
Marking as draft to make quickly reviewing the PR list simpler. Please do not hesitate to mark ready for review when you think it's ready. |
Changes proposed in this pull request
Currently in fMRIPrep the Connectome Workbench is used to resample BOLD data to fsLR spaces, as part of the CIFTI workflow.
This PR allows resampling BOLD data to any surface template space with a similar workflow, as long as (a) the "space-fsLR" spheres exist for the template (e.g., "tpl-onavg_space-fsLR_hemi-R_den-41k_sphere.surf.gii") or (b) the template is "fsLR".
In the long run, we might want to generate alternative generic workflows, e.g., (a) using the SurfaceTransform class of nitransforms by @Shotgunosine and me, and (b) using FreeSurfer's resampling workflow.
This PR depends on a recent PR of smriprep and updating TemplateFlow's files on AWS S3.
Currently the wrong subfolder on S3 was updated for some unknown reason.
This generic resampling workflow might serve as the first step for the generic CIFTI workflow.
Documentation that should be reviewed
I've updated the workflows' docstrings accordingly, but feel free to make suggestions/edits.
@effigies @oesteban