<div dir="ltr"><div><div><div>Yes I tried cfg.keeptrials = 'yes'.<br><br></div>I should add that I just have one long trial (resting state). I chopped it into 10 seconds-trials  with ft_definetrials and re-did the analysis but it didn't help either.<br><br></div>As said below, looking into the code the dimensions should be rpttap_chan_freq but I have rpttap_chan_freq_time because I used wavelets (as in Hipp's paper). <br><br></div><div>Any other ideas?<br></div><div><br><br></div>Best,<br>Matthias<br><div><div><div><br><div><br><br><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Message: 1<br>
Date: Wed, 15 Oct 2014 19:56:17 +0100<br>
From: Matthias Treder <<a href="mailto:matthias.treder@gmail.com">matthias.treder@gmail.com</a>><br>
To: <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>
Subject: [FieldTrip] Connectivity analysis with powcorr_ortho<br>
Message-ID:<br>
        <<a href="mailto:CAAQEB5rODY2bTwOkQhPPKMeWQG68hozdOB4qiSn1pBP2W7LyHw@mail.gmail.com">CAAQEB5rODY2bTwOkQhPPKMeWQG68hozdOB4qiSn1pBP2W7LyHw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello FieldTrippers,<br>
<br>
I want to do a envelope-based connectivity analysis of resting state MEG<br>
following the regime of Hipp. The respective method is implemented in<br>
ft_connectivityanalysis as powcorr_ortho.<br>
<br>
Like in the Hipp paper, I am first doing a wavelet analysis on the sensor<br>
level (10 Hz for me).<br>
I eventually want to do source-space analysis - currently I stay in sensor<br>
space, however.<br>
I keep the complex Fourier coefficients (cfg.output     = 'fourier') and<br>
the result is:<br>
<br>
     label: {204x1 cell}<br>
           dimord: 'rpttap_chan_freq_time'<br>
             freq: [10 20]<br>
             time: [1x57400 double]<br>
    fourierspctrm: [4-D double]<br>
        cumtapcnt: [1 1]<br>
             grad: [1x1 struct]<br>
              cfg: [1x1 struct]<br>
<br>
<br>
Looking in ft_connectivityanalysis in line 697 the function requires either<br>
a field .mom or the structure of the data has to be rpttap_chan_freq, but I<br>
have sensor-level time-frequency data.<br>
<br>
Any idea how to fix my analysis?<br>
<br>
Thanks a lot !<br>
Matthias<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20141015/e7a48133/attachment-0001.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20141015/e7a48133/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 15 Oct 2014 22:09:43 +0200 (CEST)<br>
From: Fr?d?ric Roux <<a href="mailto:f.roux@bcbl.eu">f.roux@bcbl.eu</a>><br>
To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>
Subject: Re: [FieldTrip] Connectivity analysis with powcorr_ortho<br>
Message-ID: <<a href="mailto:577666873.3492259.1413403783469.JavaMail.root@bcbl.eu">577666873.3492259.1413403783469.JavaMail.root@bcbl.eu</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hi Matthias,<br>
<br>
have you tried:<br>
<br>
cfg.keetrials = 'yes' in your cfg?<br>
<br>
Best,<br>
Fred<br>
<br>
Fr?d?ric Roux<br>
<br>
----- Original Message -----<br>
From: "Matthias Treder" <<a href="mailto:matthias.treder@gmail.com">matthias.treder@gmail.com</a>><br>
To: <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>
Sent: Wednesday, October 15, 2014 8:56:17 PM<br>
Subject: [FieldTrip] Connectivity analysis with powcorr_ortho<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hello FieldTrippers,<br>
<br>
<br>
I want to do a envelope-based connectivity analysis of resting state MEG following the regime of Hipp. The respective method is implemented in ft_connectivityanalysis as powcorr_ortho.<br>
<br>
<br>
<br>
Like in the Hipp paper, I am first doing a wavelet analysis on the sensor level (10 Hz for me).<br>
I eventually want to do source-space analysis - currently I stay in sensor space, however.<br>
I keep the complex Fourier coefficients (cfg.output = 'fourier') and the result is:<br>
<br>
label: {204x1 cell}<br>
dimord: 'rpttap_chan_freq_time'<br>
freq: [10 20]<br>
time: [1x57400 double]<br>
fourierspctrm: [4-D double]<br>
cumtapcnt: [1 1]<br>
grad: [1x1 struct]<br>
cfg: [1x1 struct]<br>
<br>
<br>
Looking in ft_connectivityanalysis in line 697 the function requires either a field .mom or the structure of the data has to be rpttap_chan_freq, but I have sensor-level time-frequency data.<br>
<br>
Any idea how to fix my analysis?<br>
<br>
Thanks a lot !<br>
Matthias<br>
<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" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
<br>
<br>
------------------------------<br>
<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" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
End of fieldtrip Digest, Vol 47, Issue 13<br>
*****************************************<br>
</blockquote></div><br></div></div></div></div></div></div>