stim_channel

External Email - Use Caution

Dear experts:
I have had this error before but I don?t understand why it doesn?t apply to this problem. I attach two screenshots of the error and the code. I simply read an edf format file my version of mne is 0.20. The probable solution is stim_channel=None in events and in read raw or in one of them but none seems to work. Although with .bdf it does with edf it doesn?t.

Sincerely,
Andrade.

[cid:E3726CA5-4213-4616-9837-809FF7396FF3 at home][cid:355170B7-96C6-4F0F-A14F-584BDD37412D at home]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200529/5ab027e9/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2020-05-29 at 22.23.22.png
Type: image/png
Size: 148468 bytes
Desc: Screenshot 2020-05-29 at 22.23.22.png
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200529/5ab027e9/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2020-05-29 at 22.23.08.png
Type: image/png
Size: 756926 bytes
Desc: Screenshot 2020-05-29 at 22.23.08.png
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200529/5ab027e9/attachment-0003.png

External Email - Use Caution

You cannot use `mne.find_events` if your file does not have a stim channel.
We somewhat recently changed to having event-type information stored in
raw.annotations, so you probably need to use events_from_annotations
<https://mne.tools/dev/generated/mne.events_from_annotations.html&gt;\.

Eric

        External Email - Use Caution

Dear experts:
I have had this error before but I don?t understand why it doesn?t apply
to this problem. I attach two screenshots of the error and the code. I
simply read an edf format file my version of mne is 0.20. The probable
solution is stim_channel=None in events and in read raw or in one of them
but none seems to work. Although with .bdf it does with edf it doesn?t.

Sincerely,
Andrade.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200530/6b510d49/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2020-05-29 at 22.23.22.png
Type: image/png
Size: 148468 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200530/6b510d49/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2020-05-29 at 22.23.08.png
Type: image/png
Size: 756926 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200530/6b510d49/attachment-0003.png