You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the first three FFTs execute normally, I get an error in der last step
File "mkl_fft_pydfti.pyx", line 155, in mkl_fft._pydfti.fft
File "mkl_fft_pydfti.pyx", line 401, in mkl_fft._pydfti._fft1d_impl
ValueError: Internal error occurred: b'Intel MKL DFTI ERROR: Inconsistent configuration parameters'
I know from other issues that mkl has problems with array lengths above 2^24 (ca. 16.7M). However, I'm surprised that the first examples execute normally while in all my tests applying fft() to the output of scipy.signal.sosfiltfilt() fails if the array is longer than 2^24 while sosfilt() works fine. I can solve the problem by using a.copy() but I smell something fishy here. Even if this might not be easily solvable I'd still be glad if someone could explain to me why this happens in the first place. Thanks!
I'm on Win11, Anaconda python 3.10, mkl 1.3.1, scipy 1.10.0
The text was updated successfully, but these errors were encountered:
ErikBsly
changed the title
Arraysize and scipy.sosfiltfilt
Array size and scipy.sosfiltfilt
Jun 15, 2023
ErikBsly
changed the title
Array size and scipy.sosfiltfilt
Array size and scipy.sosfiltfilt()
Jun 15, 2023
Just to add a small remark in case this is still under investigation or someone's interested: The result of sosfiltfilt() is neither C_contiguous nor F_contiguous, probably causing the error. Surprisingly, the code always runs fine when a.size is a power of 2.
Hello, today I experienced an issue while using
mkl_fft
on one-dimensional numpy arrays. The following code results in an error:While the first three FFTs execute normally, I get an error in der last step
I know from other issues that
mkl
has problems with array lengths above 2^24 (ca. 16.7M). However, I'm surprised that the first examples execute normally while in all my tests applyingfft()
to the output ofscipy.signal.sosfiltfilt()
fails if the array is longer than 2^24 whilesosfilt()
works fine. I can solve the problem by usinga.copy()
but I smell something fishy here. Even if this might not be easily solvable I'd still be glad if someone could explain to me why this happens in the first place. Thanks!I'm on Win11, Anaconda python 3.10, mkl 1.3.1, scipy 1.10.0
The text was updated successfully, but these errors were encountered: