tedana.metrics.dependence.compute_countnoise

compute_countnoise(*, stat_maps: ndarray, stat_cl_maps: ndarray, value_threshold: float | None = None, proportion_threshold: float | None = None) ndarray[source]

Count the number of significant voxels from non-significant clusters.

This is done after application of a cluster-defining threshold, but compared against results from cluster-extent thresholding.

Parameters:
  • stat_maps ((S x C) array_like) – Unthresholded statistical maps.

  • stat_cl_maps ((S x C) array_like) – Cluster-extent thresholded and binarized version of stat_maps.

  • value_threshold (float, optional) – Threshold for voxel-wise significance in input stat_maps. Default is None.

  • proportion_threshold (float, optional) – Proportion threshold for voxel-wise significance in input stat_maps. Values between 0 and 100. Default is None.

Returns:

countnoise ((C) array_like) – Numbers of significant non-cluster voxels from the statistical maps.