run_single_shell

Import in python using from mcutils.scripts.MDE.micro_anisotropy import run_single_shell

mcutils.scripts.MDE.micro_anisotropy.run_single_shell(signal, b_delta, bvals=None)[source]

Computes the anisotropy from the mean signal

Parameters
  • signal – spherical mean signal (M, N) array

  • b_delta – anisotropy of the b-tensor (M, ) array

  • bvals – if provided will divide the anisotropy by the b-value to get the d_parallel - d_perpendicular (M, ) array

Returns

(2, N) array with anisotropy, Sbase