tedana.metrics.dependence.threshold_map
- threshold_map(maps, mask, ref_img, threshold, csize=None)[source]
Perform cluster-extent thresholding.
- Parameters:
maps ((M x C) array_like) – Statistical maps to be thresholded.
mask ((S) array_like) – Binary mask.
ref_img (img_like) – Reference image to convert to niimgs with.
threshold (
float
) – Value threshold to apply to maps.csize (
int
orNone
, optional) – Minimum cluster size. If None, standard thresholding (non-cluster-extent) will be done. Default is None.
- Returns:
maps_thresh ((M x C) array_like)