I have a BIDS-conform data set that contains MEMPRAGE sMRI data. I tried to query the data set for only the multi-echo files (that is, 'please give me all files that contain ‘echo-xx’) but couldn’t figure out how to do this using layout.get()
. Here’s an example for one subject:
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-01_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-01_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-02_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-02_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-03_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-03_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-04_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-04_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-05_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-01_echo-05_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-02_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-02_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-01_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-01_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-02_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-02_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-03_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-03_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-04_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-04_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-05_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-03_echo-05_T1w.nii.gz
sub-A00000909_ses-20110101_acq-mprage_run-04_T1w.json
sub-A00000909_ses-20110101_acq-mprage_run-04_T1w.nii.gz
Can anybody tell me how to do this?
Greetings,
Johannes