mdreg.ofour#

mdreg.ofour(t, S0, R, A, B, C)[source]#

Foruth order polynomial function.

\[S(t) = S0(1 + Rt + At^2 + Bt^3 + Ct^4)\]
Parameters:
  • t (array) – array of time points

  • S0 (float) – signal scaling factor

  • R (float) – relaxation rate in units 1/[t]

  • A (float) – amplitude of quadratic term in units of [t]^2

  • B (float) – amplitude of third order term in units of [t]^3

  • C (float) – amplitude of fourth order term in units of [t]^4

Returns:

Signal versus time, same size as t.

Return type:

numpy.ndarray