VisibleDeprecationWarning
The use of ltftatpy raises:
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
I spotted five problematic lines (it might be a non-exhaustive list):
- ltfatpy/fourier/middlepad.py:209: h = np.concatenate((f[:Lorig/2, :],
- ltfatpy/fourier/middlepad.py:211: f[Lorig/2:Lorig, :]))
- ltfatpy/fourier/middlepad.py:168: h = np.concatenate((f[:(Lorig+1)/2, :],
- ltfatpy/fourier/middlepad.py:170: f[(Lorig+1)/2:Lorig, :]))
- ltfatpy/gabor/gabframediag.py:113:d = np.tile(np.sum(glong2.reshape(N, a), axis=0), (N,)) * M
Applying int() on fractional expressions and on the sum should avoid the warning.