Plotting using Slice!
Muthuraman Muthuraman
muthuraman10 at HOTMAIL.COM
Mon Mar 5 10:42:17 CET 2007
Hello,
Thanks for the reply, i am little confused at this stage
okay, to make things clear in the fieldtrip documentation page it is given
that
i need to specify the anatomy of the data for the source plot in which case
i do not have a anatomical MRI, next if i can follow the steps as you have
mentioned
to plot using 'slice' with the functional data in my case 'coh' coherence
Because i cannot use sourceinterpolate.m or volumenormalize.m without any
anatomical data
these are my configuration steps on the way to 'DICS'
in which the eleclead1 contains the locations for the 64 electrodes from the
sphere2 standard locations
from the fieldtrip page
%SOURCE ANALYSIS DICS
elec = [];
elec.pnt = randn(64,3);
load('C:\muthu\work\fieldtrip-20070222\eleclead1.mat')
dum = sqrt(sum(elec.pnt.^2,2));
elec.pnt = 12 * elec.pnt ./ [dum dum dum];
vol = [];
vol.r = 12 * [0.88 0.92 1.00];
vol.c = [1 1/80 1];
vol.o = [0 0 0];
cfg1 = [];
cfg1.elec = elec;
cfg1.vol = vol;
cfg1.resolution = 2;
grid = prepare_leadfield(cfg1);
cfg.frequency=9;
cfg.method='dics';
cfg.grid=grid;
cfg.elec=elec;
cfg.vol=vol;
[source]=sourceanalysis(cfg,freqmtmfft);
What is the configuration for the source plot can be use to plot?
So in this case my functional data for the source plot to be coherence 'coh'
cfg1.method='slice';
cfg1.funparameter='coh';
cfg1.maskparameter='coh';
cfg1.volume=vol;
cfg1.nslices = 20;
cfg1.slicedim = 3;
sourceplot(cfg1,'..');
Thanking you
With regards
M.Muthuraman.
>From: Ingrid Nieuwenhuis <ingrid.nieuwenhuis at FCDONDERS.RU.NL>
>Reply-To: FieldTrip discussion list <FIELDTRIP at NIC.SURFNET.NL>
>To: FIELDTRIP at NIC.SURFNET.NL
>Subject: Re: [FIELDTRIP] Plotting using Slice!
>Date: Tue, 27 Feb 2007 12:34:44 +0100
>
>Hi Muthuraman,
>
>What are you trying to plot? Could you send which fields are in your
>freqmtmfft?
>
>Bests Ingrid
>
>-----Original Message-----
>From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
>Of Muthuraman Muthuraman
>Sent: Tuesday, February 27, 2007 12:20 PM
>To: FIELDTRIP at NIC.SURFNET.NL
>Subject: [FIELDTRIP] Plotting using Slice!
>
>Hello Fieldtrippers,
>
>I am not sure whether this mail has reached the group ! I am sending it
>again !
>Thanks for the answer, i tried to plot using the source plot with this
>configuration
>and i get the error, in this case should i need to transform the data
>before
>
>plotting using slice
>any comments on this
>
>cfg.method='slice';
>cfg.funparameter='coh';
>cfg.nslices = 20;
>cfg.slicedim = 3;
>sourceplot(cfg,freqmtmfft);
>??? Reference to non-existent field 'dim'.
>
>Error in ==> fieldtrip-20070222\private\grid2transform at 9
>if ~isfield(volume, 'xgrid'), volume.xgrid=1:volume.dim(1); end
>
>Error in ==> sourceplot at 189
>data = grid2transform(data);
>
>Thanking you
>
>With regards
>M.Muthuraman.
>
>_________________________________________________________________
>News and updates from Indian diaspora http://content.msn.co.in/NRI/Default
_________________________________________________________________
Gossips, movie reviews, photogallery and more
http://content.msn.co.in/Entertainment/Default
More information about the fieldtrip
mailing list