You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm running stoi(signal1, signal2, sr, extended=True)
where signal1 and signal2 are both numpy.ndarray
and I'm getting the following future warning:
/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:2383: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.
return y[keep]
Any idea how to avoid this from happening?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I'm running stoi(signal1, signal2, sr, extended=True)
where signal1 and signal2 are both numpy.ndarray
and I'm getting the following future warning:
/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:2383: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use
arr[tuple(seq)]
instead ofarr[seq]
. In the future this will be interpreted as an array index,arr[np.array(seq)]
, which will result either in an error or a different result.return y[keep]
Any idea how to avoid this from happening?
Thanks
The text was updated successfully, but these errors were encountered: