Skip to content

Commit c53766c

Browse files
authored
Merge pull request bids-standard#499 from effigies/volume_timing
Sparse BOLD acquisitions
2 parents e742618 + bccb507 commit c53766c

18 files changed

+72
-1
lines changed

.github/workflows/validate_datasets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
fi
9696
9797
- name: Skip legacy validation for post-legacy datasets
98-
run: for DS in mrs_* dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
98+
run: for DS in mrs_* dwi_deriv pheno004 volume_timing; do touch $DS/.SKIP_VALIDATION; done
9999
if: matrix.bids-validator == 'legacy'
100100

101101
- name: Skip stable validation for datasets with unreleased validator features

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ DO NOT EDIT DIRECTLY.
290290
| [genetics_ukbb](https://github.com/bids-standard/bids-examples/tree/master/genetics_ukbb) | multiple tasks, T1w, DTI, BOLD, genetic info | anat, dwi, func | FLAIR, T1w, bold, dwi, events, info | n/a | [@cpernet](https://github.com/cpernet) |
291291
| [ieeg_visual_multimodal](https://github.com/bids-standard/bids-examples/tree/master/ieeg_visual_multimodal) | n/a | anat, fmap, func, ieeg | T1w, bold, channels, coordsystem, electrodes, epi, events, ieeg, sbref | n/a | [@irisgroen](https://github.com/irisgroen) |
292292
| [synthetic](https://github.com/bids-standard/bids-examples/tree/master/synthetic) | A synthetic dataset | anat, beh, func | T1w, beh, bold, events, physio, scans, sessions, stim | n/a | [@effigies](https://github.com/effigies) |
293+
| [volume_timing](https://github.com/bids-standard/bids-examples/tree/master/volume_timing) | Sparse BOLD acquisitions | func | bold | n/a | [@effigies](https://github.com/effigies) |
293294

294295
### MRS
295296

dataset_listing.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ ds116 multiple tasks, multiple runs [link](https://openneuro.org/datasets/ds0001
3333
ds210 multiple tasks, multiple runs [link](https://openneuro.org/datasets/ds000210/versions/00002) func bold, physio
3434
hcp_example_bids [link](https://bit.ly/2H0Z6Qt) [@robertoostenveld](https://github.com/robertoostenveld) anat, fmap T1w, T2w, magnitude1, magnitude2, phasediff
3535
synthetic A synthetic dataset [@effigies](https://github.com/effigies) anat, beh, func T1w, beh, bold, events, physio, scans, sessions, stim
36+
volume_timing Sparse BOLD acquisitions [@effigies](https://github.com/effigies) func bold
3637
ds000001-fmriprep Common derivatives example [link](https://openneuro.org/datasets/ds000001/versions/1.0.0) [@effigies](https://github.com/effigies) n/a n/a
3738
ds004332 Anat dataset with task entity [link](https://openneuro.org/datasets/ds004332/versions/1.0.2) [@Remi-Gau](https://github.com/Remi-Gau) anat FLAIR, T1w, T2starw, T2w
3839
asl001 T1w, asl (GE, PCASL, 3D_SPIRAL), m0scan within timeseries [link](https://osf.io/yru2q/) [@patsycle](https://github.com/patsycle) anat, perf T1w, asl, aslcontext, asllabeling

volume_timing/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# BOLD volume timing test
2+
3+
This example is intended to exercise BOLD volume timing options enumerated in
4+
https://bids-specification.readthedocs.io/en/stable/modality-specific-files/magnetic-resonance-imaging-data.html#timing-parameters_1.
5+
6+
All JSON files describe 1-second volume acquisitions, in various configurations.
7+
8+
| Filename | Acquisition type | Metadata fields | Description |
9+
| ---------------------------------------------- | ------------------ | ------------------------------------------ | -------------------------------------------------------------------------------- |
10+
| `sub-01_task-rest_acq-dense_bold.json` | Dense | `RepetitionTime` | No gaps in volume acquisitions. |
11+
| `sub-01_task-rest_acq-constantDelay_bold.json` | Constant-TR sparse | `RepetitionTime`, `DelayTime` | Constant TR with a gap between volume acquisitions. |
12+
| `sub-01_task-rest_acq-constantST_bold.json` | Constant-TR sparse | `RepetitionTime`, `SliceTiming` | Constant TR, with acquisition duration calculable from `SliceTiming`. |
13+
| `sub-01_task-rest_acq-clusteredTA_bold.json` | Varying-TR sparse | `VolumeTiming`, `FrameAcquisitionDuration` | Volume onsets and constant acquisition duration provided. |
14+
| `sub-01_task-rest_acq-clusteredST_bold.json` | Varying-TR sparse | `VolumeTiming`, `SliceTiming` | Volume onsets provided, with acquisition duration calculable from `SliceTiming`. |
15+
| `sub-01_task-rest_acq-deprecated_bold.json` | Varying-TR sparse | `VolumeTiming`, `AcquisitionDuration` | Volume onsets and constant acquisition duration provided. |
16+
17+
Note the `acq-deprecated` option, which uses the `AcquisitionDuration` field.
18+
This field was identified with a DICOM field that has a distinct meaning from the meaning
19+
used in BIDS, which more closely aligns with `FrameAcquisitionDuration`.
20+
This form is still permitted by the validator, but should be migrated away from.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"BIDSVersion": "1.10.0",
3+
"Name": "BOLD volume timing test",
4+
"Authors": ["Christopher J. Markiewicz", "John Doe"],
5+
"License": "CC0",
6+
"DatasetType": "raw",
7+
"GeneratedBy": [ { "Name": "manual" } ],
8+
"SourceDatasets": []
9+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"VolumeTiming": [0.0, 1.0, 2.0, 6.0, 7.0, 8.0, 12.0, 13.0, 14.0],
3+
"SliceTiming": [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]
4+
}

volume_timing/sub-01/func/sub-01_task-rest_acq-clusteredST_bold.nii.gz

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"VolumeTiming": [0.0, 1.0, 2.0, 6.0, 7.0, 8.0, 12.0, 13.0, 14.0],
3+
"FrameAcquisitionDuration": 1.0
4+
}

volume_timing/sub-01/func/sub-01_task-rest_acq-clusteredTA_bold.nii.gz

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"RepetitionTime": 2,
3+
"DelayTime": 1.0
4+
}

0 commit comments

Comments
 (0)