Compute the divergence of a vector field ux,uy
dx, dy are either 1-d array or a scalar
xaxis - integer indicating the location of x axis (default = -1)
yaxis - integer indicating the location of y axis (default = -2)
Integrate data along a selected set of axes
Dimension is maintained using keepdims.sum
data - numpy.ndarray
axes - a list of axes
iax - a list of integers that select which axes are integrated along