<div dir="ltr"><b>Dear Fieldtrip family,</b><div><br></div><div>As part of my project, I would like to use Fieldtrip to plot phase concentration for a range of frequency (3 - 9 Hz) over the whole time length of a signal. I am trying to generate figure 3A on the following paper: <a href="https://www.jneurosci.org/content/31/50/18423.short" target="_blank">https://www.jneurosci.org/content/31/50/18423.short</a></div><div><br></div><div>This instantaneous phase should be for a broad range of frequencies (3 - 9 Hz) not a specific frequency (e.g. 3Hz).</div><div><br></div><div>I have read on one of your email discussions that I can use the following approach:</div><div>1 - Do the time-frequency analysis</div><div>3 - take the instantaneous phase by using "<i>angle</i>" in Matlab<br></div><div>4 - Then use "<i>circ_r</i>" in circular statics toolbox (or using the formula: <i>abs(mean(exp(1i * Phase), 1))</i> )</div><div>5 - Plot over time</div><div><br></div><div>Yet, this will give me the frequency-specific phases that I am not looking for. I am looking for phase concentration for a broad frequency band.</div><div><br></div><div><div>My approach was to:</div><div>1 - Filter the data in the frequency range of interest using a Butterworth filter</div><div>2 - take the Hilbert Transform of the signals (<i>hilbert</i> function in Matlab)</div><div>3 - take the instantaneous phase by using "<i>angle</i>" in Matlab</div><div>4 - Then use "<i>circ_r</i>" in circular statics toolbox (or using the formula: <i>abs(mean(exp(1i * Phase), 1))</i> )</div><div>5 - Plot over time</div></div><div><br></div><div>It gives me some strange looking results that might get fixed by binning the angular data.</div><div><br></div><div>I would like to know how I can implement this analysis in Fieldtrip.</div><div><br></div><div>Looking forward to hearing from you.</div><div><br></div><div>Best regards,</div><div><br></div><div><b>SAM</b></div><div><b><br></b></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table width="500" cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;color:rgb(51,51,51);font-family:Muli,sans-serif;font-size:13px;letter-spacing:normal"><tbody><tr><td style="padding:0px"><table cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;background-color:transparent"><tbody><tr><td valign="top" style="padding:0px 15px 0px 8px;font-size:1em;vertical-align:top"><table cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;background-color:transparent;line-height:1.4;font-family:Verdana,Geneva,sans-serif;font-size:11.7px;color:rgb(0,0,1)"><tbody><tr><td style="padding:0px"><div><font face="arial black, sans-serif" size="4" color="#444444">Saman Abbaspoor</font></div></td></tr><tr><td style="padding:4px 0px"><div><span style="font-weight:700">Ph.D. Student</span> <span>| </span><span>Vanderbilt University</span> <span>| </span><span>Psychological Sciences Department</span></div></td></tr><tr><td style="padding:0px"><b><span style="color:rgb(85,169,49)">mobile: </span><a href="tel:(615)+238-7261" style="background-color:transparent;color:rgb(0,0,1)" target="_blank">(615) 705-94</a>16</b><br></td></tr><tr><td style="padding:0px"><b><span style="color:rgb(85,169,49)">email: </span><span><a href="mailto:saman.abbaspoor@vanderbilt.com" style="background-color:transparent;color:rgb(0,0,1)" target="_blank">saman.abbaspoor@vanderbilt.com</a></span></b></td></tr><tr><td style="padding:0px"><b><span style="color:rgb(85,169,49)">skype: </span><span><a style="background-color:transparent;color:rgb(0,0,1)">saman95abbaspour</a></span></b></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div></div>