[Mne_analysis] Epoch.getdata ( ) to dataframe. How ?
Denis A. Engemann
denis-alexander.engemann at inria.fr
Sat Dec 21 12:56:25 EST 2019
External Email - Use Caution
Hey Ben,
take a look at .to_data_frame https://mne.tools/stable/auto_tutorials/epochs/plot_epochs_to_data_frame.html
Hope that helps,
Denis
> On 21 Dec 2019, at 18:17, Ben Ighoyota Ajenaghughrure <ighoyota at tlu.ee> wrote:
>
> External Email - Use Caution
>
> Dear All,
>
> Using python MNE i have epoched my three raw data channel (ecg, eda, and emg data ) based on event timestamps from my experiment.
>
> Considering that I want to further process each epoched data channel with other frameworks like BIOSPPY to enable me extract the respective feature. Such as Hrv, scr, etc
>
> I will like to know how to export the outcome of this MNE method
>
> epoch.getdata ( epoched data).
>
> From the documentation it appears to return a 3d array epochs×channel×times. But I have tried numpy methods like reshape amongst otherso which yielded something else entirely.
>
> Can someone shed some light on this? Especially how to obtain the epoched data in a simple dataframe or 2do array (epochs × channels).
>
>
>
> Looking forward to hearing from you.
>
> Best regards
>
> Ben.
>
>
> _______________________________________________
> 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/20191221/a4adff67/attachment.html
More information about the Mne_analysis
mailing list