mdreg.exp_decay#

mdreg.exp_decay(t, S0, T)[source]#

Exponential decay.

\[S = S_0 e^{-t/T}\]
Parameters:
  • t (array) – array of time points

  • S0 (float) – signal scaling factor

  • T (float) – relaxation time in same units as t

Returns:

Signal versus time, same size as t.

Return type:

numpy.ndarray