[Mne_analysis] stim_channel

Eric Larson larson.eric.d at gmail.com
Sat May 30 09:47:53 EDT 2020
Search archives:

        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>.

Eric

On Sat, May 30, 2020 at 6:02 AM Andrade Rey René <rene.andrade at edu.uah.es>
wrote:

>         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
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- 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 


More information about the Mne_analysis mailing list