From 535a9da1a41d76099b9a8bd3494acbe3c82f7e2f Mon Sep 17 00:00:00 2001 From: Matt Cieslak Date: Sun, 20 Oct 2019 10:51:14 -0400 Subject: [PATCH 01/12] add dwi tsv file --- .../01-magnetic-resonance-imaging-data.md | 20 ++++++++++++++++++- src/schema/datatypes/dwi.yaml | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md b/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md index 3eb1f3eb75..0646fbb9bd 100644 --- a/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md +++ b/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md @@ -568,6 +568,22 @@ Example of `[*_]dwi.bval` file, corresponding to the previous `[*_]dwi.bvec` exa 0 0 2000 2000 1000 1000 ``` +Optionally, a `sub-01_acq-multiband_gradient.tsv` file +can be provided that specifies gradient directions in RAS+ scanner coordinates. + +Optional `dwi.tsv` example: + +```Text +R A S B +0 0 0 0 +1.0 0 0 1000 +-0.0509541 0.0617551 -0.99679 1000 +``` + +`[*_]dwi.tsv` files can be saved on any level of the directory structure +and thus define those values for all sessions and/or subjects in one place (see +Inheritance principle). + ### Multipart (split) DWI schemes Some MR schemes cannot be acquired directly by some scanner devices, @@ -656,7 +672,9 @@ JSON example: ```JSON { "PhaseEncodingDirection": "j-", - "TotalReadoutTime": 0.095 + "TotalReadoutTime": 0.095, + "BigDelta": 0.005, + "SmallDelta": 0.0005 } ``` diff --git a/src/schema/datatypes/dwi.yaml b/src/schema/datatypes/dwi.yaml index 561ca1a5a2..21294a54f8 100644 --- a/src/schema/datatypes/dwi.yaml +++ b/src/schema/datatypes/dwi.yaml @@ -6,6 +6,7 @@ - .nii.gz - .nii - .json + - .tsv - .bvec - .bval entities: From 364b2528e92edcf55c1a399262cc17e88afe1845 Mon Sep 17 00:00:00 2001 From: Matt Cieslak Date: Sun, 20 Oct 2019 21:16:46 -0400 Subject: [PATCH 02/12] Add BigDelta, SmallDelta descriptions --- .remarkrc | 2 +- .../01-magnetic-resonance-imaging-data.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.remarkrc b/.remarkrc index f0938a7bca..1cc5dbe8b5 100644 --- a/.remarkrc +++ b/.remarkrc @@ -1,6 +1,6 @@ { "plugins": [ - "preset-lint-markdown-style-guide", + "remark-preset-lint-markdown-style-guide", ["lint-no-duplicate-headings", false], ["lint-list-item-indent", "tab-size"], ["lint-emphasis-marker", "consistent"], diff --git a/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md b/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md index 0646fbb9bd..ad034dc31d 100644 --- a/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md +++ b/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md @@ -661,12 +661,21 @@ sub-