fitting.exponentials¶
-
fitting.
exponentials
(x, y0, *p)¶ Sum over a variable number of decaying exponentials with constant offset.
Parameters: - x (array) – x-values.
- y0 (float) – Offset.
- p (variable) –
Coefficients of exponentials. For every exponential provide
- A amplitude (can be negative),
- dx decay constant (can be negative, which results in a growing exponential).
Returns: .