fitting.sinusoids¶
-
fitting.
sinusoids
(x, *p)¶ A sum over a variable number of decaying sinusoids.
Parameters: - x (array) – x-values.
- p (variable) –
Coefficients of sinusoids. For each term provide
- a amplitude,
- b exponential decay rate ( = 1 / decay time),
- f0 oscillation frequency (rad),
- phi phase (rad).
Returns: .
See also
This function is intended for use with
lpsvd()
.