exp_decay
- mdtools.functions.exp_decay(t, k=1)[source]
Exponential decay function:
\[f(t) = e^{-kt}\]- Parameters:
t (
scalar
orarray_like
) – Value(s) at which to evaluate \(f(t)\).k (
scalar
orarray_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
ornumpy.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.