I'm trying to apply the gradient on my eeg signal , after selecting one channel :
raw = mne.io.read_raw_edf(a[0]) new_order = ['EEG Fpz-Cz'] raw = raw.copy().reorder_channels(new_order) print(raw.ch_names) raw.plot(duration=60) #annotation=mne.read_annotations(a[1]) raw=np.gradient(raw)
I get the error : All picks must be < n_channels (1), got 1