[Mne_analysis] last event ignored using event list?

Matti Hamalainen msh at nmr.mgh.harvard.edu
Tue May 10 18:00:13 EDT 2011
Search archives:

On May 10, 2011, at 11:41 PM, Mingbo Cai wrote:

> Hi,
> I recently used description files to do off-line averaging, with an event list. However, either with mne_browse_raw or mne_process_raw, the last event is always ignored. For example, the output on the command line says “Read 100 events from 10.eve”, but the next line says “average: nave = 99”. And when looking at the log file, the last event is not included. Does anyone know what is the cause of this and how to deal with it? (I have already set the rejection threshold very high and it does not influence this problem)
> Thank you very much.


There is a bug with the event file processing which causes this to happen. The workaround is to add an extra event to the end of the event file. The mne_process_raw / mne_browse_raw code has been corrected and when the next version of MNE appears on the web site this bug will go avay.

- Matti


Matti Hamalainen, Ph.D.
Athinoula A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital

msh at nmr.mgh.harvard.edu

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

More information about the Mne_analysis mailing list