<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Wen,
<div class=""><br class="">
</div>
<div class="">If the spatial dimension of your data is 240, I would expect a plvspctrm of 240x240, not a dimension of 45120x45120. There is something off with your data, analysis code, or with FieldTrip.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 19 Dec 2022, at 17:49, Wen Wen via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Dear Fieldtrip community,
<div class="">Following the tutorial <a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/networkanalysis/*connectivity-analysis-and-parcellation__;Iw!!HJOPV4FYYWzcc1jazlU!4TkJDtdBvQGYUtW0rb7OKIJAd4N0e50D3JbnNVbqVKwUjUPm6PVq7uibJh9_S9BAMGWFWXhh86CBS45_YI1-r-lhLnPEpJ7k2CL7lA$" class="">Whole
brain connectivity and network analysis - FieldTrip toolbox</a>, I calculated PLV connectivity at the source level from ft_connectivityanalysis. The dimord of 'plvspctrm' is 'pos_pos_freq'. Based on the previous discussion here
<a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2018-February/037885.html" class="">
[FieldTrip] Question about Phase locking value (ru.nl)</a>, I understood that the 'pos' dimension of 'plvspctrm' is the repetition of tapers multiplied by the number of dipoles. In my case, there are 188 tapers and 240 dipoles (a coarse resolution), resulting
in a connectivity matrix of 45120*45120.</div>
<div class=""><br class="">
</div>
<div class="">I'd like to reshape the plvspctrm matrix and average across repetition of taper to obtain a connectivity matrix of ndipole*ndipole. However, I'm not sure how the 'pos' dimension is composed of 'rpttap' and 'ndipole'. Explanations are highly appreciated. </div>
<div class=""><br class="">
</div>
<div class="">Thanks a lot!</div>
<div class="">Wen</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class=""><span id="cid:ii_lbv0s6vh0"><image.png></span><br class="">
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4TkJDtdBvQGYUtW0rb7OKIJAd4N0e50D3JbnNVbqVKwUjUPm6PVq7uibJh9_S9BAMGWFWXhh86CBS45_YI1-r-lhLnPEpJ5NIhUwww$
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>