SciPy

numpy.ma.MaskType.itemsize

attribute

MaskType.itemsize

length of one element in bytes