[FieldTrip] 642 nodes for source model based on cortical sheet

andrea brovelli andrea.brovelli at univ-amu.fr
Wed Dec 5 10:32:12 CET 2012

Dear all,

I am constructing a source model based on cortical sheet and I get  
always 642 nodes.

I tried to track down this magic number and I have found that at lines  
209 and 229 of ft_prepare_sourcemodel.m you fix it to:

   cfg.spheremesh  = ft_getopt(cfg, 'spheremesh', 642); % FIXME move  
spheremesh to cfg.grid

What was the rationale behind this ?

Did you modify this in more recent versions of Fieldtrip or how could  
we have it in the cfg in the future ?

Thanks a lot



More information about the fieldtrip mailing list