clusterstats empty cfg.neighbours, cfg.neighbours example

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon Mar 8 18:00:28 CET 2010

> And also, what should the channeighbstructmat look like when doing
> freq_time clustering? When I do the fix mentioned above, it returns
> a 2x2 matrix of zeros, which causes problems in findcluster(). I've
> read over the neighbourselection(), but it doesn't give any clues
> for freq_time clustering.

neighbourselection is only for specifying neighbouring channels.
Neighbouring timepoints and frequencies have a trivial definition and
don'h have to be specified. If you only want clustering in time and
frequency and not over channels, you shoudl specify cfg.neighbours =
{} or [] (I don't know for sure which emnptyit should be right now).


The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list