exp_decay

mdtools.functions.exp_decay(t, k=1)[source]

Exponential decay function:

\[f(t) = e^{-kt}\]
Parameters:
  • t (scalar or array_like) – Value(s) at which to evaluate \(f(t)\).

  • k (scalar or array_like) – Rate constant(s).

See also

mdtools.functions.exp_decay_log()

Logarithm of an exponential decay function

mdtools.functions.fit_exp_decay_log()

Fit an exponential decay function

Returns:

decay (scalar or numpy.ndarray) – The outcome of \(f(t)\). \(f(t)\) is evaluated element-wise if t and/or k are arrays.

Notes

If more than one input argument is an array, all arrays must be broadcastable.