[FieldTrip] Query regarding extraction of amplitude and latency values

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Wed Jan 3 11:00:08 CET 2024


Hi Mathew,

If you want to extract amplitude values from a pre-specified time window, I would just compute the average ‘by hand’, i.e. take the mean (across the relevant dimension of the matrix) from a subselection of time points. If you want to extract the latency of a peak, and then use the amplitude corresponding to that peak, I would use MATLAB’s findpeaks function (or some other heuristic), and use the amplitude values that correspond to the identified peaks. This requires some ‘plain’ matlab coding, there’s no FieldTrip functionality that gives you such results directly.

Good luck with your analysis,
Jan-Mathijs


On 29 Dec 2023, at 04:30, Varghese Mathew 1881002 via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hi
I am a Ph.D. scholar working on face processing studies. I am currently trying to use the Fieldtrip toolbox for doing ERP analysis. I am able to plot the ERP and topo plots. I would like to know if there is a way to extract amplitude and latency values from different time windows of interest, to conduct statistical analysis in another software.
I'm really looking forward to any leads.

Thanks in advance
--
Varghese Mathew
Ph.D Scholar
CHRIST (Deemed to be university)
Bangalore-29
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C0b6be21d96244624897f08dc0c42c4b5%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638398728119764744%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KTSx3724BFj4CGwPShTfh1pd8X9uYYxnacuea08eKCk%3D&reserved=0>
https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240103/fcf9df44/attachment.htm>


More information about the fieldtrip mailing list