Hi All,
Plotted ICA:

Now trying to find the bad indexes and exclude them.
bad_idx, scores = ica.find_bads_eog(raw, 'SO2', threshold=2)
print(bad_idx)
getting error:
ValueError: The specified EOG channel cannot be found: SO2
@richard. Thanks
Hi All,
Plotted ICA:

Now trying to find the bad indexes and exclude them.
bad_idx, scores = ica.find_bads_eog(raw, 'SO2', threshold=2)
print(bad_idx)
getting error:
ValueError: The specified EOG channel cannot be found: SO2
@richard. Thanks
Hello @Loner and thanks for updating the posting, I appreciate it! ![]()
So the error message seems to indicate that there is actually no channel named S02 in your data, hence MNE cannot use it to find EOG artifacts. Can you double-check that you got the channel name right?
Best wishes,
Richard