[Mne_analysis] Amplitude of sensor level average
denis.engemann at gmail.com
Sat Dec 14 14:35:29 EST 2013
for your interest, we just added simple peak finding methods in
MNE-Python for evoked and stc objects.
Those allow you to get the channel name or the vertex ID associated
with the maximum response as well as the latency, either in seconds or
as time index pointing at the related position in the times vector.
Here two examples.
For evoked data with a clear peak this is expected to work reliably.
For single trial data it might take more sophisticated handling.
However, with the new functions you can specify tmin and tmax
paramters as well as handle the sign (only consider negative / positve
or absolute signals).
On Mon, Sep 16, 2013 at 4:32 PM, Gascoyne, Lauren <muttonle at aston.ac.uk> wrote:
> Hi both,
> Thanks for your suggestions, I will let you know how I get on.
> From: Matti Hämäläinen [msh at nmr.mgh.harvard.edu]
> Sent: 15 September 2013 21:08
> To: Alexandre Gramfort
> Cc: Gascoyne, Lauren; mne_analysis at nmr.mgh.harvard.edu
> Subject: Re: [Mne_analysis] Amplitude of sensor level average
> You cannot measure the amplitude with mne_browse_raw. It is easy to do in either Matlab or Python, just a SMOP. It can be challenging to find a definition of a peak which can be turned into automatic detection, though.
> However, it is possible to measure amplitudes from raw data in mne_browse_raw. How about turning the ERF/ERP file into a short raw file in Matlab or Python and then measuring amplitudes from this file with mne_browse_raw?
> - Matti
> Sent from my iPad
> On Sep 15, 2013, at 3:57 PM, Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr> wrote:
>> Dear Lauren,
>> I don't think you can do this with mne_browse_raw.
>> I'd give a try to mne_analyze but I personally do this with mne-python
>> or matlab.
>> On Mon, Sep 9, 2013 at 6:41 PM, Gascoyne, Lauren <muttonle at aston.ac.uk> wrote:
>>> I have looked in the manual, cookbook and discussion archives but can't find out how to measure the amplitude of an evoked average in mne_browse_raw. I know the latency comes up when you select a time point of interest, however I am unsure of how to measure the amplitude of the peak of the response, if it is indeed possible.
>>> Any help would be greatly appreciated.
>>> Mne_analysis mailing list
>>> Mne_analysis at nmr.mgh.harvard.edu
>>> The information in this e-mail is intended only for the person to whom it is
>>> addressed. If you believe this e-mail was sent to you in error and the e-mail
>>> contains patient information, please contact the Partners Compliance HelpLine at
>>> http://www.partners.org/complianceline . If the e-mail was sent to you in error
>>> but does not contain patient information, please contact the sender and properly
>>> dispose of the e-mail.
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
More information about the Mne_analysis