<div dir="ltr"><div><div><div><div>Hi Daniel and Jan-Mathis,<br><br></div>since I also have tried to play around with PSI, I have an additional issue regarding the frequency bandwidth configuration. <br><br></div><div>I
found that with using linear equidistant frequency bins, the low
frequency oscillation has narrower bandwidth compared to high
frequencies. So if I took 5 Hz frequency bandwidth and compute the PSI
to check the low frequency (i.e alpha) coupling direction, low frequency
coupling may not have sufficient neighboring frequencies. In some cases
PSI could also mixed up both the positive and negative phase slope,
then the summation result from n-frequency bins can be spuriously positive or negative.<br><br>Regarding
the mixing of slope information, possibly this is one of methodological
disadvantage. But for fairer frequency slope summation, I also have the
same thought whether the logarithmic frequency step might be more
proper in computing PSI..<br><br>Please someone correct me if I am wrong in interpreting these, I am trying to figure out how FieldTrip's PSI works. <br><br>Thanks!<br></div><br></div>Best,<br></div>Sandhy<br><br>-----------<br>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif" lang="DE">Prasandhya A. Yusuf</span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif" lang="DE">PhD student<br></span></p><p class="MsoNormal"><span style="mso-ansi-language:
DE" lang="DE"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black" lang="DE">Medizinische Hochschule Hannover</span></b><span style="mso-ansi-language:DE" lang="DE"></span></p>
<span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">VIANNA - Institute of AudioNeuroTechnology<br><br><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 1:04 PM, Hähnke, Daniel <span dir="ltr"><<a href="mailto:daniel.haehnke@tum.de" target="_blank">daniel.haehnke@tum.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi Jan-Mathijs,
<div><br>
</div>
<div>thanks for sharing your thoughts about problems with using non-equidistant frequency bins.</div>
<div><br>
</div>
<div>Also thanks for pointing out the possible problems in Granger causality. I actually computed the GC using non-parametric factorization and equidistant frequency bins, since the code gives an error if you don’t. As I wrote, these values from equidistant
frequency bins look pretty similar to those PSI values from non-equidistant frequency bins.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Daniel<div><div class="h5"><br>
<br>
<div>
<blockquote type="cite">
<div>On 07.03.2016, at 10:02, Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi Daniel,
<div><br>
</div>
<div>I am not an expert on PSI theory either, and here I would like to stay on the safe side. Even if it may be possible to vary the number of integration bins across frequencies, and include some normalisation step on top if it, I think it is very
tricky, and rather won’t support this. The normalisation is probably quite arbitrary, because it could also involve some extrapolation of the underlying coherence spectrum. Also, using non equidistant frequency spacing increases the risk of the user having
specified frequency specific smoothing, which further complicates integration of phase and coherence estimates across neighbouring frequency bins. Long story short, I will build in an explicit check about equidistance of frequency bins in ft_connectivityanalysis,
to return an explicit error if this is not the case. This update will be a general clean up of the psi functionality, which also will include better error handling if the user happens to forget the bandwidth argument in the cfg. This will address bug 3084
on <a href="http://bugzilla.fieldtriptoolbox.org/" target="_blank">bugzilla.fieldtriptoolbox.org</a>.</div>
<div><br>
</div>
<div>While I am at it, you mentioned that your psi results look very much like the Granger you have computed. I am not sure how you have computed the Granger causality, but (if you have used non parametric factorisation of the cod matrix to get your
spectral transfer matrices) it may be relevant to know that it is incorrect to compute it from freq data with non-equidistant frequency bins. The non-parametric spectral factorisation code assumes the data to be represented on equidistant frequency bins.</div>
<div><br>
</div>
<div>Best,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On 02 Mar 2016, at 15:08, Hähnke, Daniel <<a href="mailto:daniel.haehnke@tum.de" target="_blank">daniel.haehnke@tum.de</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi Jan-Mathijs,
<div><br>
</div>
<div>never underestimate the creativity of scientists ;)</div>
<div><br>
</div>
<div>Why do you think I can’t expect meaningful results from using logarithmically spaced frequency bins? At least when comparing my Granger results with the PSI values, they look pretty similar.</div>
<div>I know that the phase slope is dependent on the step size between frequencies, so I could miss or aberrantly pick up non-monotonicity in the phase slope if I use non-equidistant bins.</div>
<div>But if I assume that the slope changes monotonically across frequencies (which, if I’m not mistaken, is also assumed for equidistant frequency bins), a normalization by the bandwidth should be possible.</div>
<div><br>
</div>
<div>Please correct me if I’m wrong. I’m obviously no expert in PSI theory and would be glad to learn more.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Daniel<br>
<br>
<div>
<blockquote type="cite">
<div>On 02.03.2016, at 14:05, Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi Daniel
<div>I have never in my life considered that people would be so creative as to expect meaningful results when inputting the function with logarithmically spaced frequency bins. I should have known better, but I would be strongly in favour of checking
for equidistant frequency bins, and if not: throw an error<b>. </b>I am opposed to using ‘bins’ as a unit, because FieldTrip should work wherever possible with physical units, rather than with unit-less units.</div>
<div><br>
</div>
<div>Best,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><b><br>
</b>
<div>
<blockquote type="cite">
<div>On 02 Mar 2016, at 13:13, Hähnke, Daniel <<a href="mailto:daniel.haehnke@tum.de" target="_blank">daniel.haehnke@tum.de</a>> wrote:</div>
<br>
<div>
<div>Hi all,<br>
<br>
since only a few people seem to be using the PSI, I went into the code to see what it actually does. I would like to point out that there are some issues with the current implementation if you’re using logarithmically spaced frequency axes.<br>
<br>
The parameter cfg.bandwidth (in Hz) is used to calculate the number of frequency bins that is used to calculate the PSI. This calculation, however, is only done once using the frequency from the lowest frequency bin. If the chosen bandwidth is not an integer
multiple of a frequency bin step, this computation leads to a changed bandwidth.<br>
If your frequency axis is not evenly spaced this leads to various bandwidths across the frequency axis, since the code only uses a fixed number of frequency bins across which to compute the PSI.<br>
<br>
I think it would be useful to change the cfg.bandwidth input from Hz to number of bins. Also, people should be aware of the fact that the PSI value is correlated with the bandwidth. So, if you use a logarithmically spaced frequency axis, you should normalize
your PSI values by the bandwidth corresponding to each frequency bin.<br>
<br>
Best,<br>
<br>
Daniel<br>
<br>
<blockquote type="cite">On 01.03.2016, at 11:51, Hähnke, Daniel <<a href="mailto:daniel.haehnke@tum.de" target="_blank">daniel.haehnke@tum.de</a>> wrote:<br>
<br>
Dear FieldTrip users,<br>
<br>
I currently want to double-check the results I got from a non-parametric Granger-causality analysis with another measure of directed communication, phase slope index.<br>
However, after having read Nolte et al.’s paper from 2008 that introduced the PSI, I still don’t understand how to best choose the parameter cfg.bandwidth.
<br>
<br>
I tried out different values and got something qualitatively very similar to my Granger results. But this is rather fitting the parameter to the Granger results and kind of undermines my purpose of double-checking.<br>
<br>
Furthermore, I am using a logarithmic (to base 2) frequency axis. Consequently, my frequency bins are not evenly spaced. I have the feeling that I would rather need different bandwidths for the individual frequency bins.<br>
<br>
Does anyone know how to objectively choose the bandwidth parameter?<br>
<br>
Best,<br>
<br>
Daniel<br>
--<br>
Daniel Hähnke<br>
PhD student<br>
<br>
Technische Universität München<br>
Institute of Neuroscience<br>
Translational NeuroCognition Laboratory<br>
Biedersteiner Straße 29, Bau 601<br>
80802 Munich<br>
Germany<br>
<br>
Email: <a href="mailto:daniel.haehnke@tum.de" target="_blank">daniel.haehnke@tum.de</a><br>
Phone: <a href="tel:%2B49%2089%204140%203356" value="+498941403356" target="_blank">+49 89 4140 3356</a><br>
<br>
<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>
<br>
<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></div>
</div>
</blockquote>
</div>
<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></div>
</blockquote>
</div>
<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></div>
</blockquote>
</div>
<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></div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>