tedana.utils.utils.make_adaptive_mask¶
-
make_adaptive_mask
(data, minimum=True, getsum=False)[source]¶ Makes map of data specifying longest echo a voxel can be sampled with
Parameters: Returns: - mask ((S, )
numpy.ndarray
) – Boolean array of voxels that have sufficient signal in at least one echo - masksum ((S, )
numpy.ndarray
) – Valued array indicating the number of echos with sufficient signal in a given voxel. Only returned if getsum = True
- mask ((S, )