in fixing issues caused by updating to newer versions, I noticed that the slepian function I used is now deprecated. It also seems there were some bugs in the implementation, see https://github.com/scipy/scipy/issues/4354
which makes me think I was never really generating this taper the right way, anyway
to truly fix this, I need to figure out what the right value for NW should be, the standardized half-bandwidth.
Not clear to me if W parameter that Koumura Okanoya 2016 is the full bandwidth, think I would need to actually look at the textbook they cite (also cited now by the scipy.signal.windows.dpss docs).
Matlab docs give slightly more detailed equations for how they are related:
https://www.mathworks.com/help/signal/ref/dpss.html
for now, just to prevent crash on import, I am going to change to the replacement dpss function
It's probably the case that neither I or anyone else is using this window anyway
but strictly speaking it's using the wrong value and should be fixed
the
Spectrogram
class inaudiofileIO
allows the user to specify awindow
, which can be one of `{None, 'Hamm', 'dpss'}.The
dpss
option is supposed to reproduce the behavior from Koumura Okanoya 2016in fixing issues caused by updating to newer versions, I noticed that the
slepian
function I used is now deprecated. It also seems there were some bugs in the implementation, see https://github.com/scipy/scipy/issues/4354which makes me think I was never really generating this taper the right way, anyway
to truly fix this, I need to figure out what the right value for
NW
should be, the standardized half-bandwidth. Not clear to me ifW
parameter that Koumura Okanoya 2016 is the full bandwidth, think I would need to actually look at the textbook they cite (also cited now by thescipy.signal.windows.dpss
docs). Matlab docs give slightly more detailed equations for how they are related: https://www.mathworks.com/help/signal/ref/dpss.htmlfor now, just to prevent crash on import, I am going to change to the replacement
dpss
functionIt's probably the case that neither I or anyone else is using this window anyway
but strictly speaking it's using the wrong value and should be fixed