clusterstats empty cfg.neighbours, cfg.neighbours example

Andrea Ostendorf aostendorf at BESA.DE
Fri Mar 5 12:27:00 CET 2010

Dear Roemer,

Thanks for your advice.
Since I would like to use Fieldtrip for TFC data and for images, with an
additional cluster-over-channels option in the case of the TFC data, I now
edited clusterstat.
If called from a TFC script (I introduced a field in cfg for this), it uses
the correction you gave to Chetan, otherwise it uses the former code.
This appears to work and the results make sense. However, I ask myself
whether there is an option for managing this without editing any Fieldtrip
functions, just by cfg options?
Any help would be greatly appreciated.

All the best

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