# edf.event reading

**URL:** <https://mne.discourse.group/t/edf-event-reading/2335>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [October 2, 2020, 10:01pm UTC](https://mne.discourse.group/t/edf-event-reading/2335 "2020-10-02T22:01:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 2, 2020, 10:01pm UTC](https://mne.discourse.group/t/edf-event-reading/2335/1 "2020-10-02T22:01:39Z")

</div>

External Email - Use Caution

To NME community,

I am working on EEG Motor Movement/Imagery Dataset Published: Sept. 9,  
2009. Version: 1.0.0 \<[https://physionet.org/content/eegmmidb/1.0.0/](https://physionet.org/content/eegmmidb/1.0.0/)\>.

reading .edf files is okey but the problem is with reading the events.

How can I read the\* .edf.event\* files?

Looking for your assistance.

Best regards.

Nibras Abo Alzahab,  
Biomedical Engineer  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20201003/e5d6f009/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201003/e5d6f009/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 3, 2020, 4:29pm UTC](https://mne.discourse.group/t/edf-event-reading/2335/2 "2020-10-03T16:29:10Z")

</div>

External Email - Use Caution

have a look at  
[http://moabb.neurotechx.com/docs/generated/moabb.datasets.PhysionetMI.html](http://moabb.neurotechx.com/docs/generated/moabb.datasets.PhysionetMI.html)

HTH  
Alex  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20201003/29eeec50/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201003/29eeec50/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 5, 2020, 5:54am UTC](https://mne.discourse.group/t/edf-event-reading/2335/3 "2020-10-05T05:54:27Z")

</div>

External Email - Use Caution

Hello!

Or you could use MNE-Python's built-in loader for this dataset:

[https://mne.tools/stable/generated/mne.datasets.eegbci.load\_data.html#mne.datasets.eegbci.load\_data](https://mne.tools/stable/generated/mne.datasets.eegbci.load_data.html#mne.datasets.eegbci.load_data)

If you really need to use the original data files, note that the EDF files already contain events in annotation channels (accessible by raw.annotations) - you do \*not\* need to load the .event files because they contain the same events that are already present in the EDF files.

Clemens
