You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,7 +20,7 @@ class AfdConnectivity(shell.Task["AfdConnectivity.Outputs"]):
20
20
21
21
Note that the sum of the AFD is normalised by streamline length to account for subject differences in fibre bundle length. This normalisation results in a measure that is more related to the cross-sectional volume of the tract (and therefore 'connectivity'). Note that SIFT-ed tract count is a superior measure because it is unaffected by tangential yet unrelated fibres. However, AFD connectivity may be used as a substitute when Anatomically Constrained Tractography is not possible due to uncorrectable EPI distortions, and SIFT may therefore not be as effective.
22
22
23
-
Longer discussion regarding this command can additionally be found at: https://mrtrix.readthedocs.io/en/3.0.4/concepts/afd_connectivity.html (as well as in the relevant reference).
23
+
Longer discussion regarding this command can additionally be found at: https://mrtrix.readthedocs.io/en/3.0.7/concepts/afd_connectivity.html (as well as in the relevant reference).
24
24
25
25
26
26
References
@@ -34,7 +34,7 @@ class AfdConnectivity(shell.Task["AfdConnectivity.Outputs"]):
34
34
MRtrix
35
35
------
36
36
37
-
Version:3.0.4-1402-gd28b95cd, built Aug 22 2025
37
+
Version:3.0.7-1578-g23fff5b8-dirty, built Nov 28 2025
38
38
39
39
Author: David Raffelt (david.raffelt@florey.edu.au) and Robert E. Smith (robert.smith@florey.edu.au)
"""The spherical harmonic decomposition is calculated by least-squares linear fitting to the amplitude data.
14
14
15
-
The directions can be defined either as a DW gradient scheme (for example to compute the SH representation of the DW signal), a set of [az el] pairs as output by the dirgen command, or a set of [ x y z ] directions in Cartesian coordinates. The DW gradient scheme or direction set can be supplied within the input image header or using the -gradient or -directions option. Note that if a direction set and DW gradient scheme can be found, the direction set will be used by default.
15
+
The directions can be defined either as a DW gradient scheme (for example to compute the SH representation of the DW signal), a set of [az in] pairs as output by the dirgen command, or a set of [ x y z ] directions in Cartesian coordinates. The DW gradient scheme or direction set can be supplied within the input image header or using the -gradient or -directions option. Note that if a direction set and DW gradient scheme can be found, the direction set will be used by default.
16
16
17
17
The spherical harmonic coefficients are stored according to the conventions described in the main documentation, which can be found at the following link:
@@ -27,7 +27,7 @@ class Amp2Sh(shell.Task["Amp2Sh.Outputs"]):
27
27
MRtrix
28
28
------
29
29
30
-
Version:3.0.4-1402-gd28b95cd, built Aug 22 2025
30
+
Version:3.0.7-1578-g23fff5b8-dirty, built Nov 28 2025
31
31
32
32
Author: J-Donald Tournier (jdtournier@gmail.com)
33
33
@@ -70,7 +70,7 @@ class Amp2Sh(shell.Task["Amp2Sh.Outputs"]):
70
70
directions: File|None=shell.arg(
71
71
default=None,
72
72
argstr="-directions",
73
-
help="""the directions corresponding to the input amplitude image used to sample AFD. By default this option is not required providing the direction set is supplied in the amplitude image. This should be supplied as a list of directions [az el], as generated using the dirgen command, or as a list of [ x y z ] Cartesian coordinates.""",
73
+
help="""the directions corresponding to the input amplitude image used to sample AFD. By default this option is not required providing the direction set is supplied in the amplitude image. This should be supplied as a list of directions [az in], as generated using the dirgen command, or as a list of [ x y z ] Cartesian coordinates.""",
74
74
)
75
75
rician: ImageIn|None=shell.arg(
76
76
default=None,
@@ -101,10 +101,11 @@ class Amp2Sh(shell.Task["Amp2Sh.Outputs"]):
101
101
)
102
102
103
103
# Stride options:
104
-
strides: ty.Any=shell.arg(
104
+
strides: ImageIn|list[int] |None=shell.arg(
105
105
default=None,
106
106
argstr="-strides",
107
107
help="""specify the strides of the output data in memory; either as a comma-separated list of (signed) integers, or as a template image from which the strides shall be extracted and used. The actual strides produced will depend on whether the output image format can support it.""",
0 commit comments