F:>python "example.py" >1.1 Traceback (most recent call last): File "example.py", line 18, in <module> waves, scales=pywaves.getwavesetfromdatabase([2., 33., 70., 130.]) # the scales must be a subset of those in the database, otherwise the closest available scale will be used File "F:\Python\LIB\Wavelet\PyWaveletPeakID.py", line 734, in getwavesetfromdatabase waves=[waves[i:j].reshape(k, k*2-1) for i, j, k in zip(si[:-1][scaleinds], si[1:][scaleinds], savesize_scales[scaleinds])] File "F:\Python\LIB\Wavelet\PyWaveletPeakID.py", line 734, in <listcomp> waves=[waves[i:j].reshape(k, k*2-1) for i, j, k in zip(si[:-1][scaleinds], si[1:][scaleinds], savesize_scales[scaleinds])] TypeError: 'numpy.float64' object cannot be interpreted as an integer |