[FieldTrip] ft_sourceplot NaN, connectivity degree

fosco bernasconi fosco.bernasconi at gmail.com
Wed Apr 20 14:53:32 CEST 2016

Dear list,

I am trig to plot the connectivity degree of my beamforming sources, after
interpolation. What happens, is that also the NaN values outside the
headmodel are plotted (see figure below).

Is there an easy fix for this? or did I do some errors in my computation?

My code:

cfg = [];
cfg.method       = 'ortho';
cfg.funparameter = 'degrees';
cfg.maskparameter = 'mask';
cfg.funcolormap  = 'jet';
cfg.location         = 'max';

and my data structure:

source_degint_S =
      anatomy: [91x109x91 double]
      coordsys: 'spm'
      dim: [91 109 91]
      transform: [4x4 double]
      unit: 'mm'
      inside: [91x109x91 logical]
      degrees: [91x109x91 double]
      cfg: [1x1 struct]

Thanks a lot in advance!

[image: Immagine incorporata 2]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160420/4384bf36/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-04-20 13:38:28.png
Type: image/png
Size: 74696 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160420/4384bf36/attachment-0001.png>

More information about the fieldtrip mailing list