eelbrain.testnd.VectorDifferenceRelated.find_clusters

VectorDifferenceRelated.find_clusters(self, pmin=None, maps=False, **sub)

Find significant regions or clusters

Parameters:
pmin : None | scalar, 1 >= p >= 0

Threshold p-value. For threshold-based tests, all clusters with a p-value smaller than pmin are included (default 1); for other tests, find contiguous regions with p pmin (default 0.05).

maps : bool

Include in the output a map of every cluster (can be memory intensive if there are large statistical maps and/or many clusters; default False).

Returns:
ds : Dataset

Dataset with information about the clusters.