Saving EOG artifact markers into original raw file

Hello,

I have so far successfully identified eye blinks in raw data but I'm having
trouble saving the markers for those blinks into the original file. Should
I be using mne.write_events for this case?

::vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20121204/f666203d/attachment.html

Hi Vincent,

Hello,

I have so far successfully identified eye blinks in raw data but I'm
having trouble saving the markers for those blinks into the original
file. Should I be using mne.write_events for this case?

mne-python currently doesn't support embedding the events in the raw
file. I would use mne.write_events is the right choice. You can later
load them again using mne.read_events.

How did you detect the eye blinks, did you use
mne.artifacts.find_eog_events?

Best,

Martin