We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12c31b5 + 2698b4f commit 93e7b91Copy full SHA for 93e7b91
ulab_Crunch_Numbers_Fast/waterfall.py
@@ -81,8 +81,8 @@ def main():
81
# to change any zeros to nonzero numbers
82
spectrogram1 = ulab.vector.log(spectrogram1 + 1e-7)
83
spectrogram1 = spectrogram1[1:(fft_size//2)-1]
84
- min_curr = ulab.numerical.min(spectrogram1)[0]
85
- max_curr = ulab.numerical.max(spectrogram1)[0]
+ min_curr = ulab.numerical.min(spectrogram1)
+ max_curr = ulab.numerical.max(spectrogram1)
86
87
if max_curr > max_all:
88
max_all = max_curr
0 commit comments