SciPy

numpy.ma.MaskType.shape

MaskType.shape

tuple of array dimensions