Epoch.getdata ( ) to dataframe. How ?

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191221/76d52fad/attachment.html

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