Dear SPMers,
I'm using the Fieldtrip beamformer source extraction based on two regional source (from individual functional localizers). When I run the toolbox from the GUI (two regional sources, VOI radius 7mm resolution 3.5mm lambda 10%), I get the following error after all the leadfields are computed:
...
computing leadfield 66/66
scanning repetition 1
using precomputed leadfields
??? Error using ==> mtimes
Inner matrix dimensions must agree.
Error in ==> beamformer_lcmv at 158
invCy = pinv(Cy + lambda * eye(size(Cy)));
Error in ==> ft_sourceanalysis at 820
dip(i) = beamformer_lcmv(grid, sens, vol, squeeze(avg(i,:,:)), squeeze(Cy(i,:,:)), optarg{:});
Error in ==> spm_eeg_ft_beamformer_source at 238
source1 = ft_sourceanalysis(cfg, timelock1);
Error in ==> spm_Beamforming at 20
eval(fun);
Error in ==> spm at 965
evalin('base',xTB(i).prog);
??? Error while evaluating uicontrol Callback
I'm using the latest updated SPM version, and the beamformer has worked in the past. Any ideas on what to do?
Thanks a lot!
Anne Urai
|