I am trying to compute the Wigner Ville Distribution for short audio clips. While it works correctly with small premade signals, the situation changes for wav files. The kernel crashes due to memory error. Huge arrays are needed when a NumPy array of zeroes is initiated. I can bypass this by downsampling my signal. The most I can get is around 20000 samples. More samples and the kernel dies due to the memory error. Am I doing something wrong or is the implementation that memory hungry?
I am trying to compute the Wigner Ville Distribution for short audio clips. While it works correctly with small premade signals, the situation changes for wav files. The kernel crashes due to memory error. Huge arrays are needed when a NumPy array of zeroes is initiated. I can bypass this by downsampling my signal. The most I can get is around 20000 samples. More samples and the kernel dies due to the memory error. Am I doing something wrong or is the implementation that memory hungry?