<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Gregor,<div><br></div><div>I think that is exactly what I was looking for!</div><div>Thanks a lot for your fast reply, this is really helpful :)</div><div>Actually, I already ran ft_sourceanalysis (using DICS) to identify regions of interest.</div><div>I will have a look at the LCMV beamformer postings you've recommended.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Sibylle</div><div><br></div><div><br><div><div>On 7 Apr 2011, at 14:10, Gregor Volberg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-bottom: 1px; font-style: normal; font-size: 10pt; font-weight: normal; margin-top: 4px; font-family: Dialog; line-height: normal; margin-right: 4px; font-variant: normal; margin-left: 4px"><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">Dear Sybille,</font> </div> <br><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">the plv option is now within ft_connectivityanalysis. I was successful with the code given below (ft_freqanalysis changed a bit in newer versions of fieldtrip so there might be some small corrections necessary). As much as I know, a plv analysis on source activity is not implemented as one of fieldtrip's high-level functions, but could be done by hand. One possibility is to use source analysis to identify regions of interest, which can then be used as "virtual electrodes" for ft_freqanalysis and ft_connectivityanalysis, just as the real electrodes in sensor space data. In order for that to work, you need to reconstruct single trial source activity at your ROIs. How this is done depends on the method you use for source analysis. There are some recent postings where a method is described for an LCMV beamformer.</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">Hope this helps,</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">Gregor</font> </div> <br> <br><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr = [];</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.output = 'fourier';</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.channel = 'all';</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.method = 'mtmconvol'</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.taper = 'hanning'</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.toi = -0.6:0.02:1</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.foi = [8 9 10 11 12];</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.t_ftimwin = 7./cfg_tfr.foi;</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_tfr.channelcmb = {'EEG', 'EEG'}</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">freq_output = ft_freqanalysis(cfg_tfr,data);</font> </div> <br><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_con = [];</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">cfg_con.method = 'plv';</font> </div><div style="margin-top: 0px; margin-bottom: 0px; "> <font size="2" face="Dialog">plv = ft_connectivityanalysis(cfg_con, freq_output);</font> </div> <br> <br><br><div style="margin-top: 0px; margin-bottom: 0px; "> <br> <br> <font face="Dialog" style="font-size: 10pt"><br>--
<br>Dr. rer. nat. Gregor Volberg <gregor.volberg@psychologie.uni-regensburg.de> ( <a href="mailto:gregor.volberg@psychologie.uni-regensburg.de">mailto:gregor.volberg@psychologie.uni-regensburg.de</a> )
<br>University of Regensburg
<br>Institute for Experimental Psychology
<br>93040 Regensburg, Germany
<br>Tel: +49 941 943 3862
<br>Fax: +49 941 943 3233
<br><a href="http://www.psychologie.uni-regensburg.de/Greenlee/team/volberg/volberg.html">http://www.psychologie.uni-regensburg.de/Greenlee/team/volberg/volberg.html
</a><br><br><br></font>>>> sibylle <<a href="mailto:s.mohr@psy.gla.ac.uk">s.mohr@psy.gla.ac.uk</a>> 4/7/2011 12:55 PM >>><br>Dear Fieldtrippers,<br><br>I have a couple of question and I hope someone can help me:<br>How is it possible to compute plv (for freq data)?<br>As far as I can remember there used to be an option within <br>ft_sourcedescriptives, which seems to have disappeared.<br>How can one use plv to determine connectivity in source space?<br><br>Thanks a lot & best wishes,<br><br>Sibylle<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">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br> </div> </div> _______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>