[FieldTrip] source localization help

McConnell, Keith Keith.McConnell at cchmc.org
Tue Oct 15 14:21:01 CEST 2013


Here you go.  Thanks for the help.

cfg = [];
cfg.method = 'dics';
cfg.frequency = 8;
cfg.grid = grid;
cfg.vol = vol;
cfg.dics.projectnoise = 'yes';
cfg.dics.lambda = 0;

sourcePost_nocon = ft_sourceanalysis(cfg, BAROpost);

save sourcePost_nocon sourcePost_nocon

load sourcePost_nocon





Keith McConnell, M.S.

513.636.0739 (desk)
513.504.9907 (cell)

Division of Pulmonary Medicine
Cincinnati Children's Hospital Medical Center
Cincinnati, OH  45229

From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Rojas, Don
Sent: Monday, October 14, 2013 4:12 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] source localization help

Keith,

I'm assuming that sourcePost_nocon is the output from ft_sourceanalysis. Can you provide us with the cfg for your call to ft_sourceanalysis?

Don

On Oct 14, 2013, at 1:56 PM, "McConnell, Keith" <Keith.McConnell at cchmc.org<mailto:Keith.McConnell at cchmc.org>> wrote:


Ach.  The solution may still prove to be simple, but I have made this change:

cfg = [];
cfg.downsample = 2;
cfg.parameter = 'avg.pow'; %error here for parameter = avg.pow referencing a nonexistent field
sourcePostInt_nocon = ft_sourceinterpolate(cfg, sourcePost_nocon, mri);

and now receive this error:

Reference to non-existent field 'avg'.

Thanks for the help.

Keith

Keith McConnell, M.S.

513.636.0739 (desk)
513.504.9907 (cell)

Division of Pulmonary Medicine
Cincinnati Children's Hospital Medical Center
Cincinnati, OH  45229

From: fieldtrip-bounces at science.ru.nl<mailto:fieldtrip-bounces at science.ru.nl> [mailto:fieldtrip-bounces at science.ru.nl<mailto:bounces at science.ru.nl>] On Behalf Of Rojas, Don
Sent: Monday, October 14, 2013 3:29 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] source localization help

I believe you should change cfg.parameter to read

cfg.parameter = 'avg.pow'

not

cfg.parameter = 'ave.pow'


On Oct 14, 2013, at 12:14 PM, "McConnell, Keith" <Keith.McConnell at cchmc.org<mailto:Keith.McConnell at cchmc.org>> wrote:



Hello,

I am trying to run the beamformer source analysis.

In the code:

cfg = [];
cfg.downsample = 2;
cfg.parameter = 'ave.pow'; %error here for parameter = avg.pow referencing a nonexistent field
sourcePostInt_nocon = ft_sourceinterpolate(cfg, sourcePost_nocon, mri);

I am generating the error:

Reference to non-existent field 'ave'.

Any help?

Keith McConnell, M.S.

513.636.0739 (desk)
513.504.9907 (cell)

Division of Pulmonary Medicine
Cincinnati Children's Hospital Medical Center
Cincinnati, OH  45229

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto: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/20131015/0df19074/attachment-0002.html>


More information about the fieldtrip mailing list