Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WelchPSD, WelchCohere, replace 'hanning' with 'hann', scipy 1.9.0 #511

Merged

Conversation

Moritz-Alexander-Kern
Copy link
Member

@Moritz-Alexander-Kern Moritz-Alexander-Kern commented Aug 1, 2022

Bug
With release of scipy 1.9.0, signal.windows.hanning was removed.
See release notes: https://github.com/scipy/scipy/releases/tag/v1.9.0.

Deprecated since: 1.1.0 see: scipy/scipy#8148

See: scipy/scipy#8148

Fix (This fixes #510 )

  • Replaced the default value 'hanning' with 'hann', since hanning is an alias for hann.
  • added deprecation warning and unit-tests.

@Moritz-Alexander-Kern Moritz-Alexander-Kern added the bugfix Fix for an indentified bug. label Aug 1, 2022
@coveralls
Copy link
Collaborator

coveralls commented Aug 1, 2022

Coverage Status

Coverage increased (+0.009%) to 87.21% when pulling eecccb0 on INM-6:fix/spectral_scipy_1.9.0 into 646cbd4 on NeuralEnsemble:master.

@Moritz-Alexander-Kern Moritz-Alexander-Kern merged commit df8e962 into NeuralEnsemble:master Aug 9, 2022
@Moritz-Alexander-Kern Moritz-Alexander-Kern deleted the fix/spectral_scipy_1.9.0 branch October 28, 2022 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix for an indentified bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] WelchPSD, WelchCohere, signal.windows.hanning removed with scipy 1.9.0
2 participants