heudiconv optionalinfo to create IntendedFor key:value pairs code example
Example: heudiconv optionalinfo to create IntendedFor key:value pairs
>>> IntendedFor = {
b0_phase: [
'{session}/func/sub-{subject}_{session}_task-rest_acq-multiband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-rest_acq-singleband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-fracback_acq-singleband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-face_acq-singleband_bold.nii.gz'
],
b0_mag: [
'{session}/func/sub-{subject}_{session}_task-rest_acq-multiband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-rest_acq-singleband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-fracback_acq-singleband_bold.nii.gz',
'{session}/func/sub-{subject}_{session}_task-face_acq-singleband_bold.nii.gz'
],
pe_rev: [
'{session}/dwi/sub-{subject}_{session}_acq-multiband_dwi.nii.gz',
]
}