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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
could you explain what is nch in eeg.py?
I have a single signal with a shape of (3000, 1) . When I input it to get plf plot, it throws an error as below:
233 # ensure numpy
234 signal = np.array(signal)
--> 235 nch = signal.shape[1]
236
237 sampling_rate = float(sampling_rate)
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
nch is the number of channels in your signal and as such it should correspond to the number of columns in your signal (i.e. signal.shape[1]).
I managed to reproduce that issue if signal was either a list or a numpy array with shape (3000,). Please try to reshape your signal before using it as input to eeg(), that should do the trick: signal = np.reshape(np.array(signal), (-1,1))
Hi ,
could you explain what is nch in eeg.py?
I have a single signal with a shape of (3000, 1) . When I input it to get plf plot, it throws an error as below:
The text was updated successfully, but these errors were encountered: