Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Thu Feb 22 18:12:13 CET 2007

On 22 Feb 2007, at 17:21, Muthuraman Muthuraman wrote:

> Warning: electrodes do not ly on sphere surface -> using projection
>> In fieldtrip-20070109\private\eeg_leadfield4 at 60
>  In fieldtrip-20070109\private\compute_leadfield at 435
>  In prepare_leadfield at 209

Electrodes of course should ly on the skin surface, that is the case
in the real world and it should also be the case in your model. Did
you plot the electrodes in combination with the sphere on which they
should ly? You can use headmodelplot for that.

> cfg.location='interactive';
> cfg.funparameter='source';
> cfg.maskparameter='source';
> sourceplot(cfg,source);

Please update to the latest version of fieldtrip, the sourceplot
function has recently been improved. The documentation of sourceplot
explains how to use the funparameter and maskparameter. See also the
tutorial documentation. Your specification 'source' is certainly not
going to work, sice 'source' is not a source parameter.


More information about the fieldtrip mailing list