PlotExampleSpectrum(ntf, M=1, osr=osr, f0=f0)
Traceback (most recent call last):
File "", line 1, in
PlotExampleSpectrum(ntf, M=1, osr=osr, f0=f0)
File ".....\lib\site-packages\deltasigma_PlotExampleSpectrum.py", line 103, in PlotExampleSpectrum
plt.plot(freq, dbv(spec0[:N/2 + 1]), 'c', linewidth=1)
TypeError: slice indices must be integers or None or have an index method
... running Python 3.7.0
Change line File ".....\lib\site-packages\deltasigma_PlotExampleSpectrum.py", line 103, in PlotExampleSpectrum
plt.plot(freq, dbv(spec0[:N/2 + 1]), 'c', linewidth=1)
to
plt.plot(freq, dbv(spec0[:int(N/2.0) + 1]), 'c', linewidth=1)
or whatever is convinient to let N/2 return an integer number.