Skip to content

Commit

Permalink
window initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbourgin committed Jul 3, 2019
1 parent b49271a commit 5f3634d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def generalized_cosine(window_len, coefs):


class WindowInitializer:
def __init__(self, window):
def __call__(self, window):
if window == "hamming":
return hamming
elif window == "blackman_harris":
Expand Down

0 comments on commit 5f3634d

Please sign in to comment.