<div>Dear JM,</div>
<div> </div>
<div>After correcting the typo you pointed out, I do get the plv. Many thanks indeed!</div>
<div> </div>
<div>Shen-Mou<br><br></div>
<div class="gmail_quote">On Thu, Apr 12, 2012 at 6:15 PM, Shen-Mou Hsu <span dir="ltr"><<a href="mailto:explena@gmail.com">explena@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi JM,<br><br>Apologize for such a stupid mistake. However, I have amended the typo and the results are the same. Both cumsumcnt and cumtapcnt returned constant values, 1101 (timepoints) and 3, respectively. I am indebted to your kindness in this matter.<span class="HOEnZb"><font color="#888888"><br>
<br>Shen-Mou</font></span>
<div class="HOEnZb">
<div class="h5"><br><br>
<div class="gmail_quote">On Thu, Apr 12, 2012 at 5:37 PM, jan-mathijs schoffelen <span dir="ltr"><<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div style="WORD-WRAP:break-word">Hi Shen-Mou,
<div><br></div>
<div>There's a typo in the cfg that you supply to ft_freqanalysis -> cfg.ouput should read cfg.output</div>
<div><br></div>
<div>BW,</div>
<div><br></div>
<div>JM </div>
<div><br>
<div>
<div>
<div>
<div>On Apr 12, 2012, at 10:57 AM, Shen-Mou Hsu wrote:</div><br></div></div>
<blockquote type="cite">
<div>
<div>Dear Users,<br><br>I try to calculate the phase locking values following the tutorial and encounter a problem.<br><br>First, I ran freqanalysis as follows:<br> cfg = [];<br> cfg.channel = 'EEG'; <br>
cfg.method = 'mtmfft'; <br> cfg.foi = 8:1:120;<br> cfg.keeptrials = 'yes';<br> cfg.ouput = 'fourier';<br>
cfg.tapsmofrq = 2;<br> Phase= ft_freqanalysis(cfg, data);<br><br>I noticed that the values in both Phase.cumsumcnt and Phase.cumtapcnt are constant values (BTW, what the meaning of cumsumcnt and cumtapcnt)<br>
<br>Then, I ran connectivity analysis as follows<br> cfg = [];<br> cfg.method = 'plv'; <br> PLV = ft_connectivityanalysis(cfg, Phase);<br><br>Here, I got empty matrices in both labelcmb: {0x2 cell} and plvspctrm: [0x113 double]<br>
<br>I wondered if there is anything wrong with the previous steps. Many thanks!<br><br>Shen-Mou Hsu<br></div></div>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote></div><br>
<div><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px"><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px">
<div style="WORD-WRAP:break-word"><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px">
<div style="WORD-WRAP:break-word"><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px">
<div style="WORD-WRAP:break-word"><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px">
<div style="WORD-WRAP:break-word"><span style="TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:medium Helvetica;WHITE-SPACE:normal;LETTER-SPACING:normal;WORD-SPACING:0px">
<div style="WORD-WRAP:break-word">
<div>Jan-Mathijs Schoffelen, MD PhD </div>
<div><br></div>
<div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div>
<div><br></div>
<div>Max Planck Institute for Psycholinguistics,</div>
<div>Nijmegen, The Netherlands</div>
<div><br></div>
<div><a href="mailto:J.Schoffelen@donders.ru.nl" target="_blank">J.Schoffelen@donders.ru.nl</a></div>
<div>Telephone: <a href="tel:%2B31-24-3614793" target="_blank" value="+31243614793">+31-24-3614793</a></div></div></span></div></span></div></span></div></span></div></span></span></div><br></div></div><br>_______________________________________________<br>
fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote></div><br></div></div></blockquote></div><br>