[Mne_analysis] Problem with plotting annotations

Mainak Jas mainakjas at gmail.com
Fri Aug 12 13:47:29 EDT 2016
Search archives:

Hi Nico,

Before we try to debug any further, can you let us know what
raw.info['meas_date']
looks like in your data?

Mainak

On Thu, Aug 11, 2016 at 7:21 PM, Nico Adelhöfer <nico.adelhoefer at st.ovgu.de>
wrote:

> Hello,
>
> can someone tell me what the problem might be here? When trying to
> plot annotations, I get an IndexError in the file annotations.py:
>
> --> 122         meas_date = meas_date[0] + meas_date[1] / 1000000.
>
> My commands are:
>
> onset = [1] # also tried [1 + raw.first_samp]
> dur = [5]
> raw.annotations = mne.Annotations(onset, dur, 'bad')
> raw.plot() # here comes the error
>
> The raw file here is fif. I saved an edf using raw.save, cutting parts
> from the beginning and the end of the recording. In the edf file there
> is no error.
>
> Thanks,
> Nico
>
> _______________________________________________
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160812/a68a21ac/attachment.html 


More information about the Mne_analysis mailing list