QMRITools`MaskingTools`
QMRITools`MaskingTools`

MaskData

MaskData[data,mask]

applies a mask to data. mask can be 2D or 3D, data can be 2D, 3D or 4D.