From 5dd412cdafeb7f410154a776565a3eb0cb69403b Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 29 Mar 2024 15:53:56 -0700 Subject: [PATCH 1/4] Incorporate use of `dwimap`. Based on recent additions to the BIDS extensions principles in https://github.com/bids-standard/bids-extensions/pull/26. Along the way, we follow the inheritance principle by reducing the number of metadata files in each directory to one per model, across all of the model parameters, and eliminating the distinction between model fit and model derived parameters. --- src/derivatives/05-diffusion-derivatives.md | 252 ++++++++++---------- 1 file changed, 120 insertions(+), 132 deletions(-) diff --git a/src/derivatives/05-diffusion-derivatives.md b/src/derivatives/05-diffusion-derivatives.md index 4536907e..04ae1fbd 100644 --- a/src/derivatives/05-diffusion-derivatives.md +++ b/src/derivatives/05-diffusion-derivatives.md @@ -31,7 +31,7 @@ Template: ## Diffusion models -Diffusion MRI can be modeled using various paradigms to extract more +Diffusion MRI can be modeled using various approaches to extract more informative representations of the diffusion process and the underlying biological structure. A wide range of such models are available, each of which has its own unique requirements with respect to: @@ -41,83 +41,81 @@ which has its own unique requirements with respect to: empirical image data; - The appropriate [data representations](#data-representations) utilized to - store information parameterised [by](#paramdef-fit) or - [from](#paramdef-derived) the model onto the filesystem; + store information about model results in the filesystem; - The requirements for encapsulation and complete representation of derived [orientation information](#orientation-specification), which is a key strength of diffusion MRI but presents unique challenges for correct interpretation. -### Parameter terminology -Throughout this document, the term "parameter" is used to refer to -multiple distinct sources of information. The distinction between -these uses is defined thus: - -1. *Input* parameter: - - Value or non-numerical setting that influences the conformation - of the diffusion model to the empirical diffusion-weighted data. - -1. Model *fit* parameter: +### File names - Value that is the direct result of fitting the diffusion model to the - empirical diffusion-weighted data. +When a model is specified by the data, parameters of the model can be saved +using the following conventions: -1. Model-*derived* parameter: +```Text +/ + sub-/ + dwi/ + [_space-]_model-_param-_dwimap.nii[.gz] + [_space-]_model-_param-_dwimap.nii[.gz] + [_space-]_model-_dwimap.json + [_space-]_model-_param-_dwimap.nii[.gz] + [_space-]_model-_param-_dwimap.nii[.gz] + [_space-]_model-_dwimap.json +``` - Value that can be calculated directly from previously estimated - *model parameters*, without necessitating reference to - the empirical diffusion-weighted data. +- Files "`[_space-]_model-