[FieldTrip] Calculate amplitudes and latencies
daria.laptinskaya at googlemail.com
Sun Oct 7 13:23:27 CEST 2012
by using the peakdetect2- or the findpeaks-function I get an error:
??? Undefined function or method 'peakdetect2' for input arguments of type
(I use EGI-data with 149 channels and 113 timepoints).
Do you have any idea, what the problem could be?
2012/10/6 Daria Laptinskaya <daria.laptinskaya at googlemail.com>
> Many thanks-I will try to do!
> 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,
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip