-
Notifications
You must be signed in to change notification settings - Fork 26
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
Load T1w-to-standard transform to same space as volumetric BOLD scan #926
Conversation
Codecov ReportAttention:
... and 1 file with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
Per @lundq163, the problem is still present with the current changes. |
hi @tsalo, i just retested it again and am seeing the same issue as before. here are the paths for the output and work dirs on MSI: and this was my run command:
@madisoth and I took some time to look through the work dir, and he concluded that the command being used to warp the mean BOLD looks correct ( |
Thanks @lundq163! I'll take a look today. My guess is that I messed up the inverted version of the transform collection function. |
I can't see anything wrong with the ApplyTransforms calls or the collection of the transforms, so I worry that maybe the MNIInfant-to-MNI152NLin2009cAsym transform is actually a copy of the MNI152NLin2009cAsym-to-MNIInfant transform. |
@lundq163 do you think you could give this branch another shot? Hopefully I fixed the problem. |
"nifti": [ | ||
"MNIInfant", | ||
"MNI152NLin6Asym", | ||
"MNIInfant", | ||
"MNI152NLin2009cAsym", | ||
], |
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.
Make MNI152NLin6Asym the preferred space for nibabies data.
This should ensure that BOLD and anatomical NIfTIs are in the same space if the cifti flag is used.
I believe the problem is just that the space selected for NIfTI BOLD and boldref files was independent from the space selected for the anat-to-template transform, which is what is applied to the T1w data. ds001419_cifti has a T1w-to-MNI152NLin6Asym transform, but that's only because of AROMA. There are no MNI152NLin6Asym BOLD outputs, except |
I am now looping through allowed volumetric spaces for a given input type in order to find one with NIfTI BOLD files in that space when running with the I am concerned that the brainsprite overlaying the white matter and pial surfaces on top of the anatomicals won't work correctly if the anatomicals are in a space other than MNI152NLin6Asym. In the case of ds001419-cifti, the best available space is MNI152NLin2009cAsym, so I will compare the brainsprite from this PR's ds001419-cifti executive summary against the one from |
Closes #925.
Changes proposed in this pull request
Add aninverted
flag toget_std2bold_xfms
to get transforms to MNI152NLin6Asym instead of from it.Add steps ininit_execsummary_functional_plots_wf
to warp the mean BOLD image and the BOLD reference image to MNI152NLin6Asym (which is the space the T1w/T2w should be in) before plotting them.Documentation that should be reviewed