[FieldTrip] LCMV returns no time series?
Peter Goodin
pgoodin at swin.edu.au
Wed Jun 15 23:55:44 CEST 2016
Hi Joram and Sarang,
Thanks very much for the advice and to you Sarang for the new functionality and viewer!
Peter
On 16 Jun 2016 00:59, "Sarang S. Dalal" <sarang at cfin.au.dk> wrote:
Hi Peter,
If you've used the 'lcmv' method for ft_sourceanalysis, you ought to have the time series already contained in source.avg.mom.
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:
cfg.lcmv.weightnorm = 'nai'; % this is a new option :-)
cfg.lcmv.fixedori = 'yes';
I also prefer to turn off reducerank, but YMMV:
cfg.lcmv.reducerank = 'no';
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).
You can use it like this:
cfg = [];
cfg.mripath = '/path/to/mri/nii' % must be in nifti (nii) format
cfg.funparameter = 'avg.mom'
% 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
nmt_sourceplot_spm8(cfg,ft_convert_units(source,'mm'));
Cheers,
Sarang
________________________________
From: fieldtrip-bounces at science.ru.nl <fieldtrip-bounces at science.ru.nl> on behalf of Peter Goodin <pgoodin at swin.edu.au>
Sent: Wednesday, June 15, 2016 3:32 PM
To: FieldTrip discussion list
Subject: [FieldTrip] LCMV returns no time series?
Hi FieldTrip list,
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?
Thanks,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160615/c8da19d1/attachment-0002.html>
More information about the fieldtrip
mailing list