From b336fa613983d47546a9bddd156d9f9776c4a52b Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 5 Apr 2024 09:12:37 -0700 Subject: [PATCH] Replace all-zeros with all-nans for undefined directions. See also https://github.com/bids-standard/bids-bep016/issues/72 --- src/derivatives/05-diffusion-derivatives.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/derivatives/05-diffusion-derivatives.md b/src/derivatives/05-diffusion-derivatives.md index 4a9b57c0..65459d06 100644 --- a/src/derivatives/05-diffusion-derivatives.md +++ b/src/derivatives/05-diffusion-derivatives.md @@ -159,7 +159,7 @@ interpretation of that information; see [orientation specification](#orientation Number of image volumes is equal to (3x*N*), where *N* is the maximum number of discrete orientations in any voxel in the image. In voxels in which less than *N* directions are represented, triplets above the - number *M* < *N* that are represented are encoded as `[0, 0, 0]`. + number *M* < *N* that are represented are encoded as `[nan, nan, nan]`. 2. Directions only @@ -196,7 +196,7 @@ interpretation of that information; see [orientation specification](#orientation Number of image volumes is equal to (3x*N*), where *N* is the maximum number of discrete orientations in any voxel in the image. As above, for voxels with less directions, any direction above *M* < *N* would - be represented as `[0, 0, 0]`. + be represented as `[nan, nan, nan]`. 5. *Spherical Harmonics (SH)*: