[FieldTrip] sourceplot - beamforming
Davide Rivolta
drivolta81 at gmail.com
Mon Nov 7 12:37:19 CET 2011
Dear Fieldtrippers,
I have a question about ft_sourceplot (version 20111009).
I am following the tutorial on the reverse grid transformation (
http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space?s[]=normalization
).
I can get to the end of the script and try to plot the relative change in
power of the stimulus condition again the baseline (visual task).
I have attached the figures I get from one subject only.
First of all, it is upside-down. Is it correct? How to change this?
Here is the script I use:
mri = ft_read_mri(mri_name);
cfg = [];
cfg.downsample = 1;
sourceDiff.dim = [17 20 17];
sourceDiff_Int = ft_sourceinterpolate(cfg, sourceDiff , mri);
cfg = [];
cfg.method = 'ortho';
cfg.funparameter = 'avg.pow';
cfg.maskparameter = cfg.funparameter;
cfg.units = 'mm';
cfg.opacitylim = [0.2 1.3];
ft_sourceplot(cfg,sourceDiff_Int);
This is the structure of sourceDiff_Int:
sourceDiff_Int =
inside: [256x256x256 logical]
avg: [1x1 struct]
dim: [256 256 256]
transform: [4x4 double]
anatomy: [256x256x256 int16]
coordsys: 'ctf'
unit: 'mm'
cfg: [1x1 struct]
Thanks for the help,
Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111107/f636efe3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ortho.jpg
Type: image/jpeg
Size: 25496 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111107/f636efe3/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slice.jpg
Type: image/jpeg
Size: 23662 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111107/f636efe3/attachment-0003.jpg>
More information about the fieldtrip
mailing list