We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8264519 commit ca86f44Copy full SHA for ca86f44
sigpy/mri/epi.py
@@ -330,3 +330,19 @@ def get_KT(D, B=None):
330
MD = get_MD(eigvals)
331
332
return DK / (MD**2)
333
+
334
335
+def get_ADC(D):
336
+ """Compute the apparent diffusion coefficient (ADC) map
337
338
+ Args:
339
+ D (array): diffusion tensor
340
341
+ Output:
342
+ ADC (array): ADC map
343
+ """
344
+ Dxx = D[0, ...]
345
+ Dyy = D[2, ...]
346
+ Dzz = D[5, ...]
347
348
+ return (Dxx + Dyy + Dzz) / 3
0 commit comments