<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Hi Peter,<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">If you've used the 'lcmv' method for ft_sourceanalysis, you ought to have the time series already contained in source.avg.mom.<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">I've been working a lot lately on improving the LCMV functionality, but unfortunately haven't had a chance to document much yet. Especially if you are not contrasting different
 conditions, you might want to try these parameters:<br>
</p>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
cfg.lcmv.weightnorm   = 'nai';  % this is a new option :-)<br>
</div>
<div><span style="font-size: 12pt;">cfg.lcmv.fixedori     = 'yes';</span><br>
<br>
</div>
</div>
<div>I also prefer to turn off reducerank, but YMMV:<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<span style="font-size: 12pt;">cfg.lcmv.reducerank   = 'no';</span></div>
<div><span style="font-size: 12pt;"></span></div>
<br>
</div>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Finally I've also contributed a viewer that will greatly help visualizing your virtual time series together with the MRI. You can find it in the latest distributions of FieldTrip
 under fieldtrip/contrib/nutmegtrip. You'll also need a full version of SPM8 in your path (the external in FieldTrip doesn't have all the necessary functions).<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">You​​ can use it like this:<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">cfg = [];<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">cfg.mripath = '/path/to/mri/nii'  % must be in nifti (nii) format<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">cfg.funparameter = 'avg.mom'<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"></p>
<div>% cfg.atlas = ft_read_atlas('ROI_MNI_V4.nii'); % [optional] you can get atlas labels, if your MRI and grid points are based on the MNI grid<br>
</div>
<div>nmt_sourceplot_spm8(cfg,ft_convert_units(source,'mm'));<br>
</div>
<div><br>
</div>
<div>Cheers,<br>
</div>
<div>Sarang<br>
</div>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> fieldtrip-bounces@science.ru.nl <fieldtrip-bounces@science.ru.nl> on behalf of Peter Goodin <pgoodin@swin.edu.au><br>
<b>Sent:</b> Wednesday, June 15, 2016 3:32 PM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] LCMV returns no time series?</font>
<div> </div>
</div>
<div>
<p dir="ltr">Hi FieldTrip list,</p>
<p dir="ltr">I'm using LCMV on averaged data (covariancewindow='all') but find the returned source estimates only have a single point. Is there a way to specify the analysis returns the time series for each grid point?</p>
<p dir="ltr">Thanks,</p>
<p dir="ltr">Peter</p>
</div>
</div>
</body>
</html>