[FieldTrip] plotting interpolated sources with ft_sourceplot
Tyler Grummett
tyler.grummett at flinders.edu.au
Mon Mar 31 05:46:27 CEST 2014
I have been trying to plot my interpolated source data using the code:
% interpolate sources
mri = ft_read_mri('Subject01.mri');
mri = ft_volumereslice([], mri);
cfg = [];
cfg.downsample = 2;
cfg.parameter = 'avg.pow';
sourceInt = ft_sourceinterpolate( cfg, source, mri);
sourceInt = rmfield( sourceInt,'time'); % The avg.pow parameter
% does not vary over time, therefore the time dimension is not needed.
% Plot interpolated data
cfg = []; %#ok<UNRCH>
cfg.method = 'ortho'; % spline
cfg.funparameter = 'avg.pow';
ft_sourceplot( cfg, sourceInt);
However the figure that comes up just had orange squares in the subplots.
I dont know where Ive gone wrong.
Tyler
*************************
Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140331/3e8136b0/attachment-0001.html>
More information about the fieldtrip
mailing list