[FieldTrip] grid problem

Elena Orekhova Elena.Orekhova at neuro.gu.se
Wed May 2 16:24:53 CEST 2012

Dear fieldtrippers,

I try to construct leadfield grid using ft_prepare_leadfield.
I use a template MRI (/spm8/canonical/single_subj_T1.nii) and template electrode positions (subsample of /template/electrode/standard_1005.elc).  The resulting grid covers only part of the brain. My attempts to extend it manually using cfg.grid.xgrid, cfg.grid.ygrid, cfg.grid.zgrid do not help. The grid is still too small (see the attached figure).

My code is:
cfg                 = [];
cfg.vol             = vol;
cfg.channel        =  {'all', '-HEOG', '-VEOG'}
     cfg.grid.xgrid      = [ -80:10:80];
     cfg.grid.ygrid      = [ -100:10:100];
     cfg.grid.zgrid      = [ -110:10:80];
[grid] = ft_prepare_leadfield(cfg, data);

Why this happens and what may I do wrong?
I am new to the Fieldtrip and I would appreciate any help very much.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120502/2b009f6b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid.tif
Type: image/tiff
Size: 44684 bytes
Desc: grid.tif
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120502/2b009f6b/attachment-0001.tif>

More information about the fieldtrip mailing list