mne.stats.summarize_clusters_stc

mne.stats.summarize_clusters_stc(clu, p_thresh=0.05, tstep=0.001, tmin=0, subject='fsaverage', vertices=None)[source]

Assemble summary SourceEstimate from spatiotemporal cluster results.

This helps visualizing results from spatio-temporal-clustering permutation tests.

Parameters
clutuple

the output from clustering permutation tests.

p_threshfloat

The significance threshold for inclusion of clusters.

tstepfloat

The temporal difference between two time samples.

tminfloat | int

The time of the first sample.

subjectstr

The name of the subject.

verticeslist of array | None

The vertex numbers associated with the source space locations. Defaults to None. If None, equals `[np.arange(10242), np.arange(10242)]`.

Returns
outinstance of SourceEstimate

A summary of the clusters. The first time point in this SourceEstimate object is the summation of all the clusters. Subsequent time points contain each individual cluster. The magnitude of the activity corresponds to the length the cluster spans in time (in samples).