From 46b699d9875f55d0a7cebdaad06bf94f5b2fd96a Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 19 Nov 2024 12:30:40 -0500 Subject: [PATCH] Make connectivity field names compatible with MATLAB (#166) * Add "atlas_" prefix to connectivity file fields. * Sanitize measure names. * Update connectivity_matrices.rst * Update connectivity_matrices.rst --- docs/connectivity_matrices.rst | 40 ++++++++++++++++++++++++++++++- qsirecon/interfaces/dsi_studio.py | 10 ++++---- qsirecon/interfaces/mrtrix.py | 6 ++--- 3 files changed, 48 insertions(+), 8 deletions(-) diff --git a/docs/connectivity_matrices.rst b/docs/connectivity_matrices.rst index c3c75bab..7a21d386 100644 --- a/docs/connectivity_matrices.rst +++ b/docs/connectivity_matrices.rst @@ -14,7 +14,7 @@ these pipelines and only look at those numbers. If you look at more than one weighting method be sure to adjust your statistics for the additional comparisons. -To skip this step in your workflow, you can modify an existing recon pipeline by removing the +To skip this step in your workflow, you can modify an existing recon pipeline by removing the ``action: connectivity`` section from the yaml file. .. _connectivity_atlases: @@ -97,6 +97,44 @@ It is essential that your images are in the LPS+ orientation and have the sform **Be sure to check for alignment and orientation** in your outputs. +********************* +Connectivity Measures +********************* + +Connectivity measures are bundled together in binary ``.mat`` files, +rather than as atlas- and measure-specific tabular files. + +.. warning:: + + We ultimately plan to organize the connectivity matrices accoring to the BIDS-Connectivity BEP, + wherein each measure from each atlas is stored in a separate file. + + Therefore, this organization will change in the future. + +.. code-block:: + + qsirecon/ + derivatives/ + qsirecon-/ + sub-