Date May 4, 2021 Author Dianne Patterson, Ph.D.
My hope is that this information is dated and this tool will be unecessary in the future. fMRIPrep does not default to using your fieldmaps to do susceptibility distortion correction (SDC). Instead, the phasediff fieldmap sidecar (e.g., fmap/sub-188_phasediff.json) must include an IntendedFor list; and the IntendedFor list must contain the relative path to the bold fMRI images. The relative path should include only the path from within the subject directory.
Here is an example of the IntendedFor list in fmap/sub-188_phasediff.json. This is an example for a subject without sessions, and it indicates that SDC should be used for all four of these fMRI runs:
"IntendedFor": [
"func/sub-188_task-nad1_run-01_bold.nii.gz",
"func/sub-188_task-nad1_run-02_bold.nii.gz",
"func/sub-188_task-nad1_run-03_bold.nii.gz",
"func/sub-188_task-nad1_run-04_bold.nii.gz"
],
Here is an example for a subject with sessions (and only two bold images):
"IntendedFor": [
"ses-ctbs/func/sub-219_ses-ctbs_task-rest_run-01_bold.nii.gz",
"ses-ctbs/func/sub-219_ses-ctbs_task-rest_run-02_bold.nii.gz"
],
To determine whether SDC was used by fMRIPrep, view the subject HTML report.
docker pull diannepat/intend4Run all subjects in the current directory
docker run -it --rm --name intend4 -v ${PWD}:/data diannepat/intend4:latest --verbose --bids_dir=/data
Or run individual subjects (e.g., sub-078 and sub-188):
docker run -it --rm --name intend4 -v ${PWD}:/data diannepat/intend4:latest --verbose --bids_dir=/data --participant_label 078 188
Content type
Image
Digest
Size
453.1 MB
Last updated
over 5 years ago
docker pull diannepat/intend4