<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I have used method 3 with fieldtrip. But I don't think there is an easy way, you'll have to create the concatenated dataset yourself and tweak some of the fields in your data structure. <div>In my case it was better to use this method because I am only interested in a very short time window, if your time window is long enough, it's probably better to use the average method (check van Veen et al., 1997, if you haven't already done so).</div><div><br><div><div>On 21 Mar 2011, at 20:58, Jean-Michel Badier wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> Dear fieldtrip users,<br> <br> There are different ways of estimating the covariance for LCMV calculation.<br> If I am correct: <br> <br> 1. As suggested in one of the tutorial one can apply the calculation of the covariance directly on the average data (for the different periods of interest that are at least a base line and the period of interest).<br> <br> 2. Estimate the covariance from the average of the covariance rather than the covariance of the average using cfg.keeptrials = "yes"<br> <br> 3. Estimate the covariance from the whole trials concatenated together. <br> Is there an easy way to do that in fieldtrip (beside create a new data set of one trial constituted of all the trials)?<br> <br> Thanks<br> <br> Jean-Michel<br> <br> <div class="moz-signature"> <address>-- </address> <style type="text/css"> <!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <address style="margin-bottom: 0cm;">Jean-Michel Badier PhD</address> <address style="margin-bottom: 0cm;"><br> </address> <address style="margin-bottom: 0cm;" align="LEFT"><font color="#000000"><font face="Times Roman, serif"><font size="3">Laboratoire de MagnétoEncéphaloGraphie</font></font></font></address> <address style="margin-bottom: 0cm;" align="LEFT"><font color="#000000"><font face="Times Roman, serif"><font size="3">INSERM U751. Aix Marseille Université</font></font></font></address> <address style="margin-bottom: 0cm;" align="LEFT"><font color="#000000"><font face="Times Roman, serif"><font size="3">33 (0)4 91 38 55 62 </font></font></font></address> <address style="margin-bottom: 0cm;" align="LEFT"><a href="mailto:jean-michel.badier@univmed.fr"><font color="#000af1"><font face="Times Roman, serif"><font size="3"><u>jean-michel.badier@univmed.fr</u></font></font></font></a></address> <address style="margin-bottom: 0cm;" align="LEFT"><br> </address> <address style="margin-bottom: 0cm;" align="LEFT"><font color="#000000"><font face="Times Roman, serif"><font size="2"><font color="#000000"><font face="Times Roman, serif"><font size="2">Service de Neurophysiologie Clinique. </font></font></font>CHU Timone</font></font></font></address> <address style="margin-bottom: 0cm;" align="LEFT"><font color="#000000"><font face="Times Roman, serif"><font size="2">264 Rue Saint-Pierre, 13005 Marseille-France</font></font></font></address> <address style="margin-bottom: 0cm;" align="LEFT"><br> </address><p style="margin-bottom: 0cm;"><br> </p> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">fieldtrip mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div> </blockquote></div><br></div></body></html>