diff --git a/ghost/sigtools/fourier.py b/ghost/sigtools/fourier.py index cdcfd48..e5271e3 100644 --- a/ghost/sigtools/fourier.py +++ b/ghost/sigtools/fourier.py @@ -2,26 +2,13 @@ import logging import numpy as np -import scipy.fftpack._fftpack as sff from . import convolution __all__ = ['clean_scipy_cache', 'chirpz_dft'] def clean_scipy_cache(): - sff.destroy_zfft_cache() - sff.destroy_zfftnd_cache() - sff.destroy_drfft_cache() - sff.destroy_cfft_cache() - sff.destroy_cfftnd_cache() - sff.destroy_rfft_cache() - sff.destroy_ddct2_cache() - sff.destroy_ddct1_cache() - sff.destroy_dct2_cache() - sff.destroy_dct1_cache() - sff.destroy_ddst2_cache() - sff.destroy_ddst1_cache() - sff.destroy_dst2_cache() - sff.destroy_dst1_cache() + # Scipy no longer exposes the cache clearing functions + pass def chirpz_dft(x): """Computes the DFT of a signal using the Chirp Z-transform.