Skip to content

Commit

Permalink
Merge pull request #158 from boeddeker/master
Browse files Browse the repository at this point in the history
contrib: fix scipy.signal.windows
  • Loading branch information
boeddeker authored Jun 14, 2024
2 parents f6acb39 + d36fb14 commit e673eb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion padertorch/contrib/cb/feature_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def cepstrum(
size: int=1024,
shift: int=256,
*,
window: typing.Callable=signal.blackman,
window: typing.Callable=signal.windows.blackman,
window_length: int=None,
fading: bool=True,
pad: bool=True,
Expand Down
6 changes: 3 additions & 3 deletions padertorch/contrib/jensheit/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from collections import Generator

WINDOW_MAP = Dispatcher(
blackman=signal.blackman,
hamming=signal.hamming,
hann=signal.hann
blackman=signal.windows.blackman,
hamming=signal.windows.hamming,
hann=signal.windows.hann
)


Expand Down

0 comments on commit e673eb4

Please sign in to comment.