exp_decay_log
- mdtools.functions.exp_decay_log(t, k=1)[source]
Logarithm of an exponential decay function:
\[f(t) = -k \cdot t\]- Parameters:
t (
scalarorarray_like) – Value(s) at which to evaluate \(f(t)\).k (
scalarorarray_like, optional) – Rate constant(s).
See also
mdtools.functions.exp_decay()Exponential decay function
mdtools.functions.fit_exp_decay_log()Fit an exponential decay function
- Returns:
decay (
scalarornumpy.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.