stick_dispersion

Import in python using from mcutils.scripts.MDE.fit_dispersion import stick_dispersion

mcutils.scripts.MDE.fit_dispersion.stick_dispersion(dstick, bmat, bingham, derivative=False)[source]

Returns the signal for dispersing sticks

Parameters
  • dstick – diffusion along the stick

  • bmat – b-matrix defining the signal acquisition

  • bingham – Bingham matrix describing the dispersion

  • derivative – also return the derivatives adds two output with dS/dstick, dS/dbingham

Returns

signal attenuation (1 for unattenuated signal)