<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear list,
<div class=""><br class="">
</div>
<div class="">Here’s a question I got in my personal inbox, which I think better fits on the discussion list. </div>
<div class=""><br class="">
</div>
<div class="">Philip I took the liberty of forwarding your message, so that other people can take notices, and chime in.<br class="">
<div><br class="">
</div>
<div>At the moment I am still enjoying my summer vacation, so I hope someone else can take the honours and answer your question.</div>
<div><br class="">
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<br class="">
</div>
<div class="">
<div dir="ltr" class="">Hi Dr. Schoffelen,
<div class=""><br class="">
</div>
<div class="">We have some interesting results from the MOUS dataset and would like to continue by looking at connectivity between some ROIs that we have. In particular, we're interested in using one ROI as a seed and looking how connectivity with other ROIs
 changes over time after the stimulus. </div>
<div class=""><br class="">
</div>
<div class="">As a first step, I'm attempting to analyze connectivity between sensors, but I seem to be having some trouble with the last visualization step, which may just indicate a problem with an earlier step. For a single subject, I first ran a time-frequency
 analysis with the following settings:</div>
<div class=""><br class="">
</div>
<div class="">cfg_subTFR = [];<br class="">
cfg_subTFR.output       = 'powandcsd';<br class="">
cfg_subTFR.channel      = 'MEG';<br class="">
cfg_subTFR.method       = 'mtmconvol';<br class="">
cfg_subTFR.taper        = 'hanning';<br class="">
cfg_subTFR.foi          = 2:1:30;<br class="">
cfg_subTFR.t_ftimwin    = 4./cfg_subTFR.foi;  % 4 cycles per time window<br class="">
cfg_subTFR.toi          = -0.5:0.05:0.6;<br class="">
TFR_firstWords = ft_freqanalysis(cfg_subTFR, data_clean);<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Results seemed to look logical, so I then ran coherence using ft_connectivityanalysis. The output includes a crsspctrm of size 36585x29x23 , with 36585 corresponding to the pairs of sensors, 29 being the frequencies, and 23 being the timepoints
 of interest. Finally, to visualize the results, I selected a pair of sensors and ran ft_connectivityplot. However, instead of getting the lineplots shown in the tutorial (<a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/connectivity/__;!!HJOPV4FYYWzcc1jazlU!ouVC5PWLvy92UOJiA59mTe8m8TQ0HRmiP9rScPYJFDg7-b0k2ctLZW70YHF0VyMMcwt3vfQ$" class="">https://www.fieldtriptoolbox.org/tutorial/connectivity/</a>),
 I seem to be getting a heatmap, similar to a visualization of TFR (attached below). Even if I limit it to one frequency time bin, I seem to be getting this view. Is there a problem with how my data/results are structured prior to visualizing? Please let me
 know. Thank you!</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Philip</div>
<div class=""><br class="">
</div>
<div class=""><img alt="image.png" class="" apple-inline="yes" id="4F905824-90E7-4050-9D05-A4A0EFBB4939" src="cid:ii_ksqul9oy0"><br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>