scientisst / BioSPPy

Biosignal Processing in Python
https://biosppy.readthedocs.io/
Other
66 stars 21 forks source link

chore: replace deprecated scipy window functions #18

Closed biggates closed 7 months ago

biggates commented 11 months ago

In scipy 1.1.0 release notes, window functions under scipy.signal are moved to scipy.signal.windows.

This PR will move corresponding imports and will fix scipy deprecations, such as:

Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.

This PR will also replace scipy.signal.slepian with scipy.signal.windows.dpss.