-
Notifications
You must be signed in to change notification settings - Fork 12
ENH: Add option to exclude projecting high variance voxels to surface #278
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ing Workbench interfaces
…pler option (to be continued in a separate branch)
…urfaces for test sub)
Removed duplicate code by abstracting it into functions, clarifying the goodvoxels logic
- Implemented the formatting suggestions by Mathias at the URLs below: - nipreps#235 - nipreps/fmriprep#2855 - Split the 3 workflow-connect blocks in the project-goodvoxels section of resampling.py into 3 different functions: ribbon, outliers, and vol-to-surf - Incomplete comments in resampling.py
Reorganized/cleaned goodvoxels resampling.py
… into madisoth-goodvoxels
remove doctests
…into nipreps_master
--- docstring update (+4 squashed commit) Squashed commit: [2493e8c] remove CreateSignedDistanceVolume doctest for now (needs anatomical surfaces for test sub) [568191c] docstring and style fixes [b14cf08] additional work on --project-goodvoxels, revert work on --surface-sampler option (to be continued in a separate branch) [42481ea] add options "--project-goodvoxels", "--surface-sampler", plus supporting Workbench interfaces
FIX: Minor anat wf & workbench.py fixes (+5 squashed commit) Squashed commit: [e995ec4] RF: Moved ribbon wf (from bold to anat) and reformatted [9676f14] Updated Docker version tag [532875e] STY: black and isort [946dc7e] Formatting fixes and resampling.py modularization - Implemented the formatting suggestions by Mathias at the URLs below: - nipreps#235 - nipreps/fmriprep#2855 - Split the 3 workflow-connect blocks in the project-goodvoxels section of resampling.py into 3 different functions: ribbon, outliers, and vol-to-surf - Incomplete comments in resampling.py [114f982] Modularized goodvoxels code in resampling.py Removed duplicate code by abstracting it into functions, clarifying the goodvoxels logic
…adisoth/nibabies into enh/project-goodvoxels-new
…erage is requested
@madisoth this is now completing without errors - as a final check, could you verify the outputs are as expected? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds option --project-goodvoxels to address nipreps/fmriprep#2822.
If enabled, voxels whose timeseries have locally high coefficient of variation, or which lie outside the cortex (based on signed distance volumes generated from the WM and pial surfaces), are excluded from volume-to-surface sampling of BOLD timeseries. Not enabled by default.