Skip to content

Commit 21bca7f

Browse files
authored
Merge pull request #15 from CasterShade/master
Update util.py Kaiser method has moved
2 parents 3c3f35e + d153c99 commit 21bca7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pysepm/util.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import numpy as np
2-
from scipy.signal import firls,kaiser,upfirdn
2+
from scipy.signal import firls, upfirdn
3+
from scipy.signal.windows import kaiser
4+
35
from fractions import Fraction
46

57
def extract_overlapped_windows(x,nperseg,noverlap,window=None):
@@ -52,4 +54,4 @@ def resample_matlab_like(x_orig,p,q):
5254
if x_orig.shape[0]<x_orig.shape[1]:
5355
y=y.T
5456

55-
return y
57+
return y

0 commit comments

Comments
 (0)