Read averaged Epochs

Hi,

how can I read the amplitude of my averaged Epochs?

Thanks
Emanuela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160812/58916761/attachment.html

Hi Emanuela,

Please be more specific: what do you mean by ?amplitude?? Are you by any chance planning to do ERPology?

/Chris

Hi,

sorry for the imprecision: What I meant that I would like to have an array
where I can read the average of epochs for each electrode in microvolts.
So far I could just plot them by running the following: "evoked =
epochs.average().plot()".

Cheers,
Emanuela

Hi Emanuela

Try "evoked.data". Its shape is (n_electrodes, n_samples) and will thus
give you what you need.

Best

Lau

many thanks! How can I know the identity of the electrode in this 2d array?

Dear Emanuela,

You check evoked.ch_names.

Overall, I suggest you have a look at the documentation
http://martinos.org/mne/stable/generated/mne.Evoked.html#mne.Evoked

Best,

Jean-Remi