From 60903adb3284e8587bbcb346be52967b629de705 Mon Sep 17 00:00:00 2001 From: VincentBeaud Date: Thu, 12 Dec 2024 10:09:37 -0500 Subject: [PATCH] Clarify doc to differentiate dpp_math with dps mode and dps_math --- scripts/scil_tractogram_dpp_math.py | 3 ++- scripts/scil_tractogram_dps_math.py | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/scil_tractogram_dpp_math.py b/scripts/scil_tractogram_dpp_math.py index 9303c1d32..5949fddb6 100755 --- a/scripts/scil_tractogram_dpp_math.py +++ b/scripts/scil_tractogram_dpp_math.py @@ -19,7 +19,8 @@ If endpoints_only and dps mode is set operation will be calculated across the data at the endpoints and stored as a single value (or array in the 4D case) -per streamline. +per streamline. If you wish to perform operations on dps values, please use +scil_tractogram_dps_math.py. Endpoint only operation: correlation: correlation calculated between arrays extracted from streamline diff --git a/scripts/scil_tractogram_dps_math.py b/scripts/scil_tractogram_dps_math.py index 5b96a5827..02837e07d 100755 --- a/scripts/scil_tractogram_dps_math.py +++ b/scripts/scil_tractogram_dps_math.py @@ -6,6 +6,10 @@ file. Can be for example SIFT2 weights, processing information, bundle IDs, tracking seeds, etc. +This script is not the same as the dps mode of scil_tractogram_dpp_math.py, +which performs operations on dpp (data_per_point) and saves the result as dps. +Instead this script performs operations directly on dps values. + Input and output tractograms must be .trk, unless you are using the 'import' operation, in which case a .tck input tractogram is accepted.