tedana.metrics.dependence.threshold_map

threshold_map(*, maps: ndarray, mask_img: Nifti1Image, proportion_threshold: float | None = None, value_threshold: float | None = None, csize: int | None = None) ndarray[source]

Perform cluster-extent thresholding.

Parameters:
  • maps ((M_s x C) array_like) – Statistical maps to be thresholded. M_s is the number of voxels in the strict mask.

  • mask_img (img_like) – Strict mask image to convert to niimgs with.

  • proportion_threshold (float) – Proportion threshold to apply to maps. Values between 0 and 100.

  • value_threshold (float, optional) – Value threshold to apply to maps. Default is None.

  • csize (int or None, optional) – Minimum cluster size. If None, standard thresholding (non-cluster-extent) will be done. Default is None.

Returns:

maps_thresh ((M_s x C) array_like)