[FieldTrip] Source Reconstruction using Openmeeg method

Mushfa Yousuf mushfa.yousuf at googlemail.com
Mon May 6 14:47:44 CEST 2013


Hello;

Yes you were right. I have defined the wrong sensors i.e 'grad' instead of
'elec' while calculating the Leadfield.

Actually I am trying to calculate Combined source reconstruction from both
EEG and MEG sensors.

Do you have any idea, how to define both elec and grad definition  while
calculating first forward then inverse solution.

Because in a fieldtrip either you can defined elec or grad at one time.


Regards;


Mushfa Yousuf

Neurozentrum,
Universitätsklinikum Schleswig-Holstein,
Campus Kiel (UKSH), Deutschland


On Tue, Apr 30, 2013 at 6:23 PM, Johanna Zumer <johanna.zumer at gmail.com>wrote:

> Hi Mushfa,
>
> My guess is that the channels that have you used to compute .csdspctrm are
> not the same as the channels in cfg.elec.    If you set cfg.channel =
> freqPost.label, does that solve it?
>
> Cheers,
> Johanna
>
>
> 2013/4/30 Mushfa Yousuf <mushfa.yousuf at googlemail.com>
>
>> Hello Fieldtrippers,
>>
>> I am doing source reconstruction using EEG channels on a fieldtrip.
>>
>> I have computed Forward solution i.e head model using  'Openmeeg' and
>> lead field successfully.
>>
>> For the inverse solution using 'dics' method, I wrote the following
>> syntax
>>
>>
>>
>>
>>
>>  cfg              = [];
>>  cfg.method       = 'dics';
>>  cfg.frequency    = 130;
>>  cfg.elec         = dataFIC12.hdr.elec;
>>  cfg.grid         = grid;
>>  cfg.vol          = vol;
>>
>>  sourcePost = ft_sourceanalysis(cfg, freqPost);
>>
>>
>> and I have received the following error:
>>
>>
>> ??? Error using ==> mtimes
>> Inner matrix dimensions must agree.
>>
>> Error in ==> beamformer_dics at 314
>>         filt = pinv(lf' * invCf * lf) * lf' * invCf;              %
>>         Gross eqn. 3, use PINV/SVD to cover rank deficient
>>         leadfield
>>
>> Error in ==> ft_sourceanalysis at 595
>>       dip(i) = beamformer_dics(grid, sens, vol, [],
>>       squeeze(Cf(i,:,:)), optarg{:});
>>
>> Error in ==> newCode at 214
>> sourcePost = ft_sourceanalysis(cfg, freqPost);
>>
>>
>>
>>
>> Any help would be appreciated.
>>
>>
>> Regards;
>>
>>
>> Mushfa Yousuf
>>
>> Neurozentrum,
>> Universitätsklinikum Schleswig-Holstein,
>> Campus Kiel (UKSH), Deutschland
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130506/f0c67475/attachment-0001.html>


More information about the fieldtrip mailing list