Skip to content

Resample surfaces to any space/density using Connectome Workbench. #473

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

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

Conversation

feilong
Copy link

@feilong feilong commented May 1, 2025

Adding init_resample_surfaces_wb_wf, which is similar to init_resample_surfaces_wf but not limited to fsLR spaces.
It can resample surfaces to the specified space and density if the corresponding files exist in TemplateFlow.

For non-fsLR templates, it needs the space-fsLR files of the template, which connects the registered sphere (fsLR space) with the template (template space).
For example, with tpl-onavg_space-fsLR_hemi-L_den-10k_sphere.surf.gii it can resample the subject's surfaces to space-onavg_hemi-L_den-10k.

The code is mostly copied and modified from init_resample_surfaces_wf.

@feilong
Copy link
Author

feilong commented May 1, 2025

I believe the failed docs check was because TemplateFlow S3 hasn't been updated.

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