<div dir="ltr">Actually I found 'Peakfit' toolbox by Paul Sajda.<div><a href="http://sccn.ucsd.edu/wiki/Plugin_list_process" target="_blank">http://sccn.ucsd.edu/wiki/Plugin_list_process</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Aug 11, 2014 at 3:32 PM, Stephen Politzer-Ahles <span dir="ltr"><<a href="mailto:spa268@nyu.edu" target="_blank">spa268@nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Angel,<div><br></div><div>I don't know if EEGLAB/STUDY has built-in options, but you can get a peak latency for any subject on any channel using MATLAB code, something like the following:</div><div>
<br>
</div><div>channel_idx = 4; % use channel 4 (for example) for the peak latency</div>
<div>time_window = [300 500]; % use the N400 time window (for example)</div><div>samples = find(EEG.times >= time_window(1) & EEG.times <= time_window(2)); % the samples to test</div><div>data = EEG.data( channel_idx, samples ); % pull out the data for this channel and time window<br>
</div><div>peak_latency = EEG.times( samples( find( data==max(data) ) ) ); % get the peak latency in this window (max() can be replaced with min() for a negative peak)</div><div class="gmail_extra"><br clear="all"><div>
<div dir="ltr">
<div>Best,</div><div>Steve<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Stephen Politzer-Ahles<br>New York University, Abu Dhabi<br>
Neuroscience of Language Lab<br><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank">http://www.nyu.edu/projects/politzer-ahles/</a><br></font></span></div></div><div><div>
<br><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 3:27 AM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Dear Angel,<div><br></div><div>Not sure about the single subject level, but for the group level my plugin std_ErpCalc() <a href="http://sccn.ucsd.edu/wiki/Plugin_list_process" target="_blank">http://sccn.ucsd.edu/wiki/Plugin_list_process</a> has an option to compute IC-wise peak and trough amplitude and latency measurement from GUI. I haven't checked the plugin for long time so if you encounter bugs let me know.</div>
<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 5, 2014 at 7:58 PM, Angel Tabullo <span dir="ltr"><<a href="mailto:angeltabullo@yahoo.com" target="_blank">angeltabullo@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="color:rgb(0,0,0);font-family:'bookman old style','new york',times,serif;font-size:14pt;background-color:rgb(255,255,255)">
<div>
<br></div><div><span style="font-family:'times new roman','new york',times,serif;font-size:14pt">Hi everyone! I need to perform a peak latency analysis for P300 and N400 potentials. I wanted to ask if it is possible to do this in EEGLAB, and, in case there's more than one available method, which one do you think it's best.</span><br>
</div><div style="display:block"><div style="font-family:'bookman old style','new york',times,serif;font-size:14pt"><div style="font-family:HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt">
<div><div><div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:14pt;background-color:rgb(255,255,255)"><div><br></div><div style="color:rgb(0,0,0);font-size:19px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
Thanks for your attention!</div><div style="color:rgb(0,0,0);font-size:19px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"><br></div><div style="color:rgb(0,0,0);font-size:19px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
Dr. Angel Tabullo</div></div></div></div><br><br></div> </div> </div> </div> </div></div><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>
-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</font></span></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div></div>