<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Zach and Indir,<div><br></div><div>I would recommend to use the function timefreq instead of phasecoher to compute single-trial wavelet decompositions (and ITC).</div><div>Phasecoher is an old function that will be retired soon (and replaced by timefreq).</div><div><br></div><div>Best,</div><div><br></div><div>Arno</div><div><br><div><div>On Nov 27, 2009, at 6:18 PM, Zachary Moran wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thank you, everyone!  These are incredibly helpful tips.<br><br> <div class="gmail_quote">On Fri, Nov 27, 2009 at 11:44 AM, Indir Jaganjac <span dir="ltr"><<a href="mailto:ijaganjac@yahoo.com">ijaganjac@yahoo.com</a>></span> wrote:<br> <blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"> <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td valign="top"> <div>Hi Zach,</div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div>Mr.Bradley Voytek and Dr.Aranud Delorme have made excellent comments.</div> <div> </div> <div> </div> <div>My experience is:</div> <div> </div> <div>Inter-Trial Coherence (ITC) or phase-locking factor is important for detection of<br>transient event-related spectral perturbation (ERSP). </div> <div>ERSP/ITC frequency range is usually in 3-25 Hz.</div> <div> </div> <div>You can extract phase angle P and magnitude M, from Inter-Trial Coherence (ITC) matrix in this way:</div> <div>P = angle(ITC), where P is phase angle matrix in radians, for each element in ITC matrix (in interval -pi,+ pi).<br>M = abs(ITC), where M is magnitude.</div> <div> </div> <div>You can also try function phasecoher for estimating inter-trial amp/coherence using Gaussian wavelets:</div> <div>[amps,cohers ] = phasecoher(data,frames,srate,freq,cycles);<br>amps = mean amplitude at each time point<br>cohers = phase coherence at each time point [0,1]</div> <div> </div> <div> </div> <div> </div> <div>  </div> <div> </div> <div> </div> <div> </div> <div> </div> <div>regards,</div> <div>I. Jaganjac</div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div>From: Zachary Moran <<a href="mailto:zdmoran@gmail.com" target="_blank">zdmoran@gmail.com</a>><br>Precedence: list<br>MIME-Version: 1.0 <div class="im"><br>To: <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br></div>Date: Tue, 24 Nov 2009 15:28:00 -0800<br>Message-ID: <<a href="mailto:93a92c840911241528v33775b77q8319fffc9354f77b@mail.gmail.com" target="_blank">93a92c840911241528v33775b77q8319fffc9354f77b@mail.gmail.com</a>><br> Content-Type: <span>multipart</span>/alternative; boundary=001636b148eafdf2820479264a7c<br>Subject: [Eeglablist] Extracting Phase Angle from ITC Matrix<br>Message: 1</div> <div>--001636b148eafdf2820479264a7c<br>Content-Type: text/plain; charset=ISO-8859-1</div> <div>Hey everyone,</div> <div class="im"> <div>I'm wondering whether anyone knows how to extract an estimate of phase angle<br>(or average phase angle) from the newtimef ITC output matrix.  When I look<br>at the matrix, I can see that the estimates in each cell are provided in<br> complex number form - does part of this number pertain to phase angle for<br>that frequency and time point?  Any help or information would be greatly<br>appreciated!</div></div> <div>Many thanks,<br>Zach</div> <div><br> </div></td></tr></tbody></table><br></blockquote></div><br> <span><ATT00001.txt></span></blockquote></div><br></div></body></html>