[Mne_analysis] events timing problem
Alexandre Gramfort
alexandre.gramfort at telecom-paristech.fr
Mon Dec 7 05:15:14 EST 2015
hi Elena,
did you try to plot your stim channel?
events are also defined taking into account the first_samp attribute.
See raw.first_samp
HTH
Alex
On Mon, Dec 7, 2015 at 10:56 AM, Elena Orekhova
<orekhova.elena.v at gmail.com> wrote:
> Dear mne experts,
>
>
>
> I record MEG with 5000 Hz sampling rate. My 1st event [198] is around 17.3
> sec from the beginning of the file (as I can see it in the mne_browse_raw),
> while the events I obtain using mne.find_eventscontain contain very
> different values:
>
>
>
> array( [[ 553744, 0, 198],
>
> [ 559801, 0, 1],
>
> [ 565846, 0, 1],
>
> …
>
> It means that the 1st event is at 553744/5000 = 110.7488 sec
>
>
>
> The events were obtained as:
>
> events= mne.find_events(raw, stim_channel='STI101', consecutive=True,
> verbose=True, shortest_event=1, output ='onset' )
>
>
>
> Why event times do not correspond to what I see at the trigger channel?
>
>
>
> Thank you,
>
> Elena
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
More information about the Mne_analysis
mailing list