<div dir="ltr"><div>Thank you for the reply. This gave me good clarity.<br></div><div><br></div><div>Sincerely</div><div>Varghese Mathew</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 3, 2024 at 3:32 PM Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">
Hi Mathew,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Good luck with your analysis,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div>
<div><br>
<blockquote type="cite">
<div>On 29 Dec 2023, at 04:30, Varghese Mathew 1881002 via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi
<div><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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. </span></div>
<div><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">I'm really looking forward to any leads.</span></div>
<div><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><br>
</span></div>
<div><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Thanks in advance<br>
</span><span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Varghese Mathew
<div>Ph.D Scholar</div>
<div>CHRIST (Deemed to be university)</div>
<div>Bangalore-29</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="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" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>