Skip to content

Commit 1a24af9

Browse files
committed
fix formatting
1 parent a073da4 commit 1a24af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spafe/features/lpc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __lpc_helper(frame, order):
6666
algorithm to solve the Hermitian toeplitz with respect to a. Using the
6767
special symmetry in the matrix, the inversion can be done in O(p^2)
6868
instead of O(p^3).
69-
69+
7070
Returns:
7171
- (numpy.ndarray) : linear prediction coefficents (lpc coefficents: a).
7272
- (numpy.ndarray) : the error term is the square root of the squared prediction error (e**2).
@@ -139,7 +139,7 @@ def lpc(
139139
.. math::
140140
E = \\sum_{i=1}^{N} \\left( x[i] - \\sum_{k=1}^{p} a_{k} x[i-k] \\right)^2
141141
142-
All the previous steps can be presented in a matrix, which is a Toeplitz matrix :math:`R.A = 0`
142+
All the previous steps can be presented in a matrix, which is a Toeplitz matrix :math:`R.A = 0`
143143
144144
References:
145145
.. [Darconis] : Draconi, Replacing Levinson implementation in scikits.talkbox,

0 commit comments

Comments
 (0)