- make_adaptive_mask(data, mask=None, getsum=False, threshold=1)
Makes map of data specifying longest echo a voxel can be sampled with
data ((S x E x T) array_like) – Multi-echo data array, where S is samples, E is echos, and T is time
stror img_like, optional) – Binary mask for voxels to consider in TE Dependent ANAlysis. Default is to generate mask from data with good signal across echoes
bool, optional) – Return masksum in addition to mask. Default: False
int, optional) – Minimum echo count to retain in the mask. Default is 1, which is equivalent not thresholding.