[ENH]: Allow BOLDWarper to warp between MNI spaces #302
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!302
Loading…
Reference in a new issue
No description provided.
Delete branch "update/multi-mni-bold-warper"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR allows
BOLDWarperto warp BOLD data to other MNI spaces likeMNI152Lin,MNI152NLin2009cAsym,MNI152NLin6Asymand others.Codecov Report
Attention:
32 linesin your changes are missing coverage. Please review.Additional details and impacted files
88.79% <15.78%> (-0.37%)Flags with carried forward coverage won't be shown. Click here to find out more.
38.88% <15.78%> (-15.95%)Doesn't this depend on the available tranformations? Shall we encapsulate this somewhere?
@ -116,0 +134,4 @@If warp / transformation file extension is not ".mat" or ".h5"when transforming to native space orif the BOLD data is in the correct space and does not requirewarping.This should be a warning if not an error. Why is the BOLDWarper set if you don't need to warp? I prefer an error though.
I've restricted it for now to not be abused, will relax it once it matures.
@ -116,0 +134,4 @@If warp / transformation file extension is not ".mat" or ".h5"when transforming to native space orif the BOLD data is in the correct space and does not requirewarping.I don't understand why it should fail with an error, can make it a warning though. But I prefer a logged message instead of a warning in these cases.
Can we add a check to see if the warped images are different from the original? It's very basic, but is something.
Addressed in the latest commit. Tests pass in juseless.