system
(system)
August 12, 2016, 11:15am
1
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
system
(system)
August 12, 2016, 11:33am
2
Hi Emanuela,
Please be more specific: what do you mean by ?amplitude?? Are you by any chance planning to do ERPology?
/Chris
system
(system)
August 12, 2016, 11:57am
3
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
system
(system)
August 12, 2016, 12:06pm
4
Hi Emanuela
Try "evoked.data". Its shape is (n_electrodes, n_samples) and will thus
give you what you need.
Best
Lau
system
(system)
August 12, 2016, 2:06pm
5
many thanks! How can I know the identity of the electrode in this 2d array?
system
(system)
August 12, 2016, 2:31pm
6
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