glue.utils.array.
view_shape
Return the shape of a view of an array.
Returns equivalent of np.zeros(shape)[view].shape
np.zeros(shape)[view].shape
shape : tuple
The shape of the array
view : slice
A valid index into a Numpy array, or None