diff --git a/src/hvc/audiofileIO.py b/src/hvc/audiofileIO.py index ae109ad..a934833 100644 --- a/src/hvc/audiofileIO.py +++ b/src/hvc/audiofileIO.py @@ -182,7 +182,7 @@ def __init__(self, if window == 'Hann': self.window = np.hanning(self.nperseg) elif window == 'dpss': - self.window = scipy.signal.slepian(self.nperseg, 4 / self.nperseg) + self.window = scipy.signal.windows.dpss(self.nperseg, 4 / self.nperseg) if freq_cutoffs is None: self.freqCutoffs = None