Skip to content
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

Test field map collection #927

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
55 changes: 55 additions & 0 deletions qsiprep/tests/data/skeleton_complex_b0fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# A dataset with a single subject with competing B0 fields:
# Each DWI has a PEPOLAR field map, but also the DWI runs have
# different phase encoding directions and can be used for
# TOPUP-style distortion correction.
'01':
- anat:
- suffix: T1w
fmap:
- dir: PA
suffix: epi
metadata:
B0FieldIdentifier:
- pepolar_ap_01
- pepolar_ap_02
PhaseEncodingDirection: j
- dir: AP
suffix: epi
metadata:
B0FieldIdentifier: pepolar_pa_01
PhaseEncodingDirection: j-
dwi:
- dir: AP
run: 1
suffix: dwi
metadata:
B0FieldIdentifier:
- pepolar_ap_01
- topup
B0FieldSource:
- pepolar_ap_01
- topup
MultipartID: ap_dwi
PhaseEncodingDirection: j-
- dir: AP
run: 2
suffix: dwi
metadata:
B0FieldIdentifier:
- pepolar_ap_02
- topup
B0FieldSource:
- pepolar_ap_02
- topup
MultipartID: ap_dwi
PhaseEncodingDirection: j-
- dir: PA
suffix: dwi
metadata:
B0FieldIdentifier:
- pepolar_pa_01
- topup
B0FieldSource:
- pepolar_pa_01
- topup
PhaseEncodingDirection: j
38 changes: 38 additions & 0 deletions qsiprep/tests/data/skeleton_complex_relpaths.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# A dataset with a single subject with competing B0 fields:
# Each DWI has a PEPOLAR field map, but also the DWI runs have
# different phase encoding directions and can be used for
# TOPUP-style distortion correction.
'01':
- anat:
- suffix: T1w
fmap:
- dir: PA
suffix: epi
metadata:
IntendedFor:
- dwi/sub-01_dir-AP_run-1_dwi.nii.gz
- dwi/sub-01_dir-AP_run-2_dwi.nii.gz
PhaseEncodingDirection: j
- dir: AP
suffix: epi
metadata:
IntendedFor:
- dwi/sub-01_dir-PA_dwi.nii.gz
PhaseEncodingDirection: j-
dwi:
- dir: AP
run: 1
suffix: dwi
metadata:
MultipartID: ap_dwi
PhaseEncodingDirection: j-
- dir: AP
run: 2
suffix: dwi
metadata:
MultipartID: ap_dwi
PhaseEncodingDirection: j-
- dir: PA
suffix: dwi
metadata:
PhaseEncodingDirection: j
15 changes: 15 additions & 0 deletions qsiprep/tests/data/skeleton_fmap_b0fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# A dataset with a single subject with a single run of fmap and dwi,
# where the fmap is linked to the dwi with the B0FieldIdentifier
# metadata field.
'01':
- fmap:
- dir: PA
suffix: epi
metadata:
B0FieldIdentifier: pepolar
dwi:
- dir: AP
suffix: dwi
metadata:
B0FieldIdentifier: pepolar
B0FieldSource: pepolar
Loading