[FieldTrip] Calculate amplitudes and latencies

Daria Laptinskaya daria.laptinskaya at googlemail.com
Sat Oct 6 12:18:54 CEST 2012


Many thanks-I will try to do!

Best,
Daria


2012/10/5 Julian Keil <julian.keil at gmail.com>

> Hi Daria,
>
> you can either use the function "min" or "max" to find the minima and
> maxima in your data, or you can use the "peakdetect2"-function that can be
> found in the "private" folder of field trip.
> Another function, that is quite similar to the field trip-function is the
> "findpeaks"-function, in which you can even set parameters how exactly you
> want to define your peaks.
> Fo the latency: all the above functions can give you the index (i.e.
> sample point) of your peak, if you then compare this to your time-vector,
> you can get the latency until the maximum.
>
> Good Luck,
>
> Julian
>
> Am 05.10.2012 um 17:10 schrieb Daria Laptinskaya:
>
> > Dear fieldtrippers,
> >
> > does anyone know how I can find the peak maximum of an erp?
> > And how to calculate the latency until the maximum?
> >
> > Timelockanalysis and the grand average of all erps are already done.
> >
> > Best,
> > Daria
> >
> >
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121006/cbf0f55a/attachment-0002.html>


More information about the fieldtrip mailing list