[FieldTrip] Fwd: Power Maps on Surface

Jörn M. Horschig jorn at artinis.com
Fri Apr 3 09:23:24 CEST 2015


Hey.

 

You should specify cfg.surffile really as the path to the file, and not read in the content apriori. This section here might help (the ‘exercise’ part of the tutorial lists a cfg-example for surface plotting).

http://www.fieldtriptoolbox.org/tutorial/beamformingextended#plotting_sources_of_oscillatory_gamma-band_activity

 

Best,

Jörn

 

--

 

Jörn M. Horschig, Software Engineer

 <http://www.artinis.com/> Artinis Medical Systems  |  +31 481 350 980 

 

From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Azeez Adebimpe
Sent: Thursday, April 2, 2015 5:37 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] Fwd: Power Maps on Surface

 

Hello,

 

Your code is right I also encouter the same problem but you can project on the surface with ft_plot_mesh

ft_plot_mesh(bnd, 'vertexcolor', m);
bnd is the your source modle and m is avg.pow value
Azeez

 

On Thu, Apr 2, 2015 at 3:51 PM, Keyvan Mahjoory <mahjoory86 at gmail.com <mailto:mahjoory86 at gmail.com> > wrote:

Dear Fieldtrip Users,

 

 

I used the surface file "cortex_5124.surf.gii" to restrict sources on cortex. I wonder how I can plot powermaps on surface?

 

cfg.surffile=ft_read_headshape('cortex_5124.surf.gii');

 

even I save it's output in a new .mat file: "sourcemodel.mat" and tried 

cgf.surffile =  'sourcemodel.mat';

 

in either case the function "ft_sourceplot"  gives error.

 

cfg = [];

cfg.method         = 'surface';

cfg.funparameter   = 'avg.pow';

cfg.funcolormap    = 'jet';

cfg.surffile='sourcemodel.mat';

ft_sourceplot(cfg, src)

 

In my code I have defined surface vertices and triangles, as well as power per vertex, I wonder What is wrong in my code? 

 

Many Thanks in advance,

Best,

Keyvan

 

 

 


_______________________________________________
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/20150403/96b52f1a/attachment.html>


More information about the fieldtrip mailing list