eelbrain.testnd.anova.cluster

anova.cluster(self, cluster_id, effect=0)

Retrieve a specific cluster as NDVar

Parameters:
cluster_id : int

Cluster id.

effect : int | str

Index or name of the effect from which to retrieve a cluster (default is the first effect).

Returns:
cluster : NDVar

NDVar of the cluster, 0 outside the cluster.

Notes

Clusters only have stable ids for thresholded cluster distributions.