From aa884b7e42756eb02249c6da8de5c4f57b2cd8e3 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Tue, 27 Aug 2024 15:34:52 +0200 Subject: [PATCH 1/4] [FIX] typo --- src/schema/rules/checks/func.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema/rules/checks/func.yaml b/src/schema/rules/checks/func.yaml index 883091b4cd..03570a058d 100644 --- a/src/schema/rules/checks/func.yaml +++ b/src/schema/rules/checks/func.yaml @@ -101,7 +101,7 @@ RepetitionTimeAcquisitionDurationMutex: (RepetitionTime - AcquisitionDuration). level: error selectors: - - type(sidecar.AcquistionDuration) != "null" + - type(sidecar.AcquisitionDuration) != "null" checks: - type(sidecar.RepetitionTime) == "null" From c83f8ec626aea695aa6d6354f5f333b37a650d4c Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 27 Aug 2024 10:10:25 -0400 Subject: [PATCH 2/4] [STY] Use wikipedia links, separate URL definitions --- src/appendices/units.md | 69 +++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 24 deletions(-) diff --git a/src/appendices/units.md b/src/appendices/units.md index 4e4355483f..078db3b64e 100644 --- a/src/appendices/units.md +++ b/src/appendices/units.md @@ -83,30 +83,51 @@ Examples for CMIXF-12 (including the five unicode symbols mentioned above): ### Multiples -| **Prefix name** | **Prefix symbol** | **Factor** | -| ------------------------------------------- | ----------------- | --------------- | -| [deca](https://www.wikiwand.com/en/Deca-) | da | 101 | -| [hecto](https://www.wikiwand.com/en/Hecto-) | h | 102 | -| [kilo](https://www.wikiwand.com/en/Kilo-) | k | 103 | -| [mega](https://www.wikiwand.com/en/Mega-) | M | 106 | -| [giga](https://www.wikiwand.com/en/Giga-) | G | 109 | -| [tera](https://www.wikiwand.com/en/Tera-) | T | 1012 | -| [peta](https://www.wikiwand.com/en/Peta-) | P | 1015 | -| [exa](https://www.wikiwand.com/en/Exa-) | E | 1018 | -| [zetta](https://www.wikiwand.com/en/Zetta-) | Z | 1021 | -| [yotta](https://www.wikiwand.com/en/Yotta-) | Y | 1024 | +| **Prefix name** | **Prefix symbol** | **Factor** | +| --------------- | ----------------- | --------------- | +| [deca][] | da | 101 | +| [hecto][] | h | 102 | +| [kilo][] | k | 103 | +| [mega][] | M | 106 | +| [giga][] | G | 109 | +| [tera][] | T | 1012 | +| [peta][] | P | 1015 | +| [exa][] | E | 1018 | +| [zetta][] | Z | 1021 | +| [yotta][] | Y | 1024 | ### Submultiples -| **Prefix name** | **Prefix symbol** | **Factor** | -| ------------------------------------------- | ----------------- | ---------------- | -| [deci](https://www.wikiwand.com/en/Deci-) | d | 10-1 | -| [centi](https://www.wikiwand.com/en/Centi-) | c | 10-2 | -| [milli](https://www.wikiwand.com/en/Milli-) | m | 10-3 | -| [micro](https://www.wikiwand.com/en/Micro-) | u | 10-6 | -| [nano](https://www.wikiwand.com/en/Nano-) | n | 10-9 | -| [pico](https://www.wikiwand.com/en/Pico-) | p | 10-12 | -| [femto](https://www.wikiwand.com/en/Femto-) | f | 10-15 | -| [atto](https://www.wikiwand.com/en/Atto-) | a | 10-18 | -| [zepto](https://www.wikiwand.com/en/Zepto-) | z | 10-21 | -| [yocto](https://www.wikiwand.com/en/Yocto-) | y | 10-24 | +| **Prefix name** | **Prefix symbol** | **Factor** | +| --------------- | ----------------- | ---------------- | +| [deci][] | d | 10-1 | +| [centi][] | c | 10-2 | +| [milli][] | m | 10-3 | +| [micro][] | u | 10-6 | +| [nano][] | n | 10-9 | +| [pico][] | p | 10-12 | +| [femto][] | f | 10-15 | +| [atto][] | a | 10-18 | +| [zepto][] | z | 10-21 | +| [yocto][] | y | 10-24 | + +[deca]: https://en.wikipedia.org/wiki/Deca- +[hecto]: https://en.wikipedia.org/wiki/Hecto- +[kilo]: https://en.wikipedia.org/wiki/Kilo- +[mega]: https://en.wikipedia.org/wiki/Mega- +[giga]: https://en.wikipedia.org/wiki/Giga- +[tera]: https://en.wikipedia.org/wiki/Tera- +[peta]: https://en.wikipedia.org/wiki/Peta- +[exa]: https://en.wikipedia.org/wiki/Exa- +[zetta]: https://en.wikipedia.org/wiki/Zetta- +[yotta]: https://en.wikipedia.org/wiki/Yotta- +[deci]: https://en.wikipedia.org/wiki/Deci- +[centi]: https://en.wikipedia.org/wiki/Centi- +[milli]: https://en.wikipedia.org/wiki/Milli- +[micro]: https://en.wikipedia.org/wiki/Micro- +[nano]: https://en.wikipedia.org/wiki/Nano- +[pico]: https://en.wikipedia.org/wiki/Pico- +[femto]: https://en.wikipedia.org/wiki/Femto- +[atto]: https://en.wikipedia.org/wiki/Atto- +[zepto]: https://en.wikipedia.org/wiki/Zepto- +[yocto]: https://en.wikipedia.org/wiki/Yocto- From a73c1b065764d033d99d34d240543a7f08518fcf Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 27 Aug 2024 10:41:50 -0400 Subject: [PATCH 3/4] [FIX] Define a metadata table for TB1EPI --- src/appendices/qmri.md | 13 +++++++++---- src/schema/rules/sidecars/fmap.yaml | 10 ++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/appendices/qmri.md b/src/appendices/qmri.md index 8aad465f24..d0991be72e 100644 --- a/src/appendices/qmri.md +++ b/src/appendices/qmri.md @@ -607,10 +607,15 @@ The nominal FA value of the SE pulse is twice this value. Note that the following metadata fields MUST be defined in the accompanying JSON files: -| **Field name** | **Definition** | -| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `TotalReadoutTime` | The effective readout length defined as `EffectiveEchoSpacing * PEReconMatrix`, with `EffectiveEchoSpacing = TrueEchoSpacing / PEacceleration` | -| `MixingTime` | Time interval between the SE and STE pulses | + +{{ MACROS___make_sidecar_table("fmap.TB1EPI") }} To properly identify constituents of this particular method, values of the `echo` entity MUST index the images as follows: diff --git a/src/schema/rules/sidecars/fmap.yaml b/src/schema/rules/sidecars/fmap.yaml index c642394764..a866973f96 100644 --- a/src/schema/rules/sidecars/fmap.yaml +++ b/src/schema/rules/sidecars/fmap.yaml @@ -69,3 +69,13 @@ MRIFieldmapPepolar: fields: PhaseEncodingDirection: required TotalReadoutTime: required + +TB1EPI: + selectors: + - datatype == "fmap" + - suffix == "TB1EPI" + fields: + EchoTime: required + FlipAngle: required + TotalReadoutTime: required + MixingTime: required From 77ad7795c802dd6bb333085fcab4a352b01a2efe Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 29 Aug 2024 11:45:53 -0400 Subject: [PATCH 4/4] [build changelog]