[FieldTrip] SAM option in ft_sourceanalysis

Yuval Harpaz yuvharpaz at gmail.com
Fri May 4 20:56:19 CEST 2012


Dear Elena
I used it recently with MEG data and local spheres model
I don't think it could work with eeg but I don't know.
Yuval

On 4 May 2012 09:50, Elena Orekhova <Elena.Orekhova at neuro.gu.se> wrote:

>  Dear fieldtrippers!
>
>
>
> I tried to use SAM beamformer for the EEG analysis,
>
> But I have got en error (see below).
>
> I guess that there is a bug  in ‘beamformer_sam’at line 112.
>
>
>
> I wonder if ‘SAM’ option works at all?  Did anybody used ‘SAM’ in
> ‘ft_sourceanalysis’?
>
>
>
> Thanks,
>
> Elena
>
>
>
> ***********************
>
> Error using  *
>
> Inner matrix dimensions must agree.
>
>
>
> Error in beamformer_sam (line 112)
>
> inv_cov = pinv(all_cov + lambda * eye(size(all_cov)));
>
>
>
> Error in ft_sourceanalysis (line 849)
>
>       dip(i) = beamformer_sam(grid, sens, vol, squeeze(avg(i,:,:)),
>
>       squeeze(Cy(i,:,:)), optarg{:});
>
>
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>



-- 

Y.Harpaz

a link to the BIU MEG lab:
http://faculty.biu.ac.il/~goldsa/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120504/21df05f5/attachment-0002.html>


More information about the fieldtrip mailing list