scientisst / BioSPPy

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

chore: replace deprecated scipy window functions #18

Closed biggates closed 9 months ago

biggates commented 1 year 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.