[Mne_analysis] mne.events_from_annotations not finding the correct samples

Brunner, Clemens (clemens.brunner@uni-graz.at) clemens.brunner at uni-graz.at
Wed Jun 3 08:33:16 EDT 2020
Search archives:

        External Email - Use Caution        

Hi Sage!

Could you please open an issue at https://github.com/mne-tools/mne-python/issues? It would be great if you could also share your example data set so we can try to reproduce.


> On 03.06.2020, at 11:03, Sage Boettcher <sage.boettcher at psy.ox.ac.uk> wrote:
>         External Email - Use Caution        
> Hi all, 
> I recently updated mne, and when doing so I found I could no longer use find_events to find my events from my raw data file. As suggested, I used events_from_annnotations instead which seemed to be working (i.e. my triggers were there and in a sensible order). However, when I compared the events structure to an old events structure that was retrieved from the same data using find_events I found that the samples did not match (see screen shot below). I’m confident that the samples from the find_events were correct — since now all my sanity check effects have disappeared. Some info that might be useful to know: in both cases I read the data in using read_raw_eeglab, I'm currently using mne version 20.5 and previously had been using 17 I really appreciate any help that you might be able to offer, I’ve look around a bit in the annotations object but to be honest its all a bit foreign to me. For example, the onset times listed there are in seconds so Im not sure how that maps onto the samples that Im finding in my events structure. Thanks in advance  for any suggestions. 
> Best,
> Sage
>  <Screen Shot 2020-06-03 at 09.47.17.png>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

More information about the Mne_analysis mailing list