Skip to content

Commit

Permalink
Replace all-zeros with all-nans for undefined directions.
Browse files Browse the repository at this point in the history
See also #72
  • Loading branch information
arokem committed Apr 5, 2024
1 parent 05e94e5 commit b336fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/derivatives/05-diffusion-derivatives.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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. <a name="data-sh">*Spherical Harmonics (SH)*</a>:

Expand Down

0 comments on commit b336fa6

Please sign in to comment.