[Mne_analysis] Issues loading fieldtrip data with MNE python

Eric Larson larson.eric.d at gmail.com
Sun Aug 2 17:14:21 EDT 2020
Search archives:

        External Email - Use Caution        

Can you try and comment on:

https://github.com/mne-tools/mne-python/pull/8075

Eric


On Sun, Aug 2, 2020 at 2:34 PM Аквей Фрэнк Лоренс Ний Адокквей <
fakvey at edu.hse.ru> wrote:

>         External Email - Use Caution
>
> Hello Everyone,
> I am having challenges loading fieldtrip data with MNE python. When I
> enter the code below:
>
> ```
>
> import mne
> original_data = mne.io.read_raw_fif('data.fif', preload=False)
> original_info = original_data.info
> data_from_ft = mne.read_epochs_fieldtrip('data.mat', original_info)
>
> ```
> I get this error:
> ```
>
> TypeError: only size-1 arrays can be converted to Python scalars
>
> ```
>
> Could someone please help me with what I might be doing wrong.
>
> Kind Regards
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200802/63d96da5/attachment.html 


More information about the Mne_analysis mailing list