I'm trying to use numpy's mgrid (https://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.mgrid.html) via PyCall, but I can't figure out what the syntax should be. I've tried every permutation I can think of, could someone help me out?
The python call looks like: >>> np.mgrid[0:5,0:5]array([[[0, 0, 0, 0, 0], [1, 1, 1, 1, 1], >>> [2, 2, 2, 2, 2], [3, 3, 3, 3, 3], [4, 4, 4, 4, 4]], >>> [[0, 1, 2, 3, 4], [0, 1, 2, 3, 4], [0, 1, 2, 3, 4], >>> [0, 1, 2, 3, 4], [0, 1, 2, 3, 4]]]) Thanks in advance.
