pysptk.sptk.levdur¶
-
pysptk.sptk.
levdur
(r, eps=0.0, use_scipy=True)[source]¶ Solve an Autocorrelation Normal Equation Using Levinson-Durbin Method
Parameters: - r : array
Autocorrelation sequence
- eps : float
Singular check (eps(if -1., 0.0 is assumed))
- use_scipy : bool
Use scipy’s solve_toeplitz implementation or not. Default is True. This would be more numerically stable than SPTK.
Returns: - a : array
LPC
Raises: - RuntimeError
- if abnormally completed or unstable LPC
See also