Closed kjdavidson closed 1 year ago
thanks for this, indeed it's a breaking change in scipy, affecting a lot of packages. The next MSNoise release will take this into account.
this is actually done in release 1.6.3, in master & in WIP MSNoise 2 - so should be safe to close now
Hello,
SciPy 1.9.0 deprecated
scipy.signal.hanning
- https://docs.scipy.org/doc/scipy/release.1.9.0.html?highlight=hann#expired-deprecationsThis issue has also been mentioned over in ObsPy https://github.com/obspy/obspy/issues/3116
Running a fresh install of MSNoise 1.6.2 I get the following error when running
msnoise test
:My environment:
It looks like the function has been moved into the
scipy.signal.windows
namespace. Changing the call toscipy.signal.hanning
in thesmooth()
function on line 304 of move2obspy.py toscipy.signal.windows.hann
appears to let the tests complete without error.