Skip to content

Commit

Permalink
test for iirt, minor fix, use variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fzalkow committed Jun 9, 2020
1 parent 1aa8df5 commit 1c9f71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ def test_iirt_peaks():
cur_peaks = scipy.signal.find_peaks(cur_band, prominence=1e-5)[0]
assert len(cur_peaks) == 5

cur_peak_times = cur_peaks * 512 / Fs
cur_peak_times = cur_peaks * hop_length / Fs
assert all(abs(cur_peak_times - click_times) < (win_length / Fs))


Expand Down

0 comments on commit 1c9f71b

Please sign in to comment.