nx = 100
ny = 200
x = np.linspace(0.0, 100.0, nx)
y = np.linspace(-100.0, 100.0, ny)
fig = mpl.figure()
ax = fig.add_subplot(111)
ax.imshow(polar2cartesian(r, t, z, x, y, order=0), interpolation='nearest')
fig.savefig('test1.png')
fig = mpl.figure()
ax = fig.add_subplot(111)
ax.imshow(polar2cartesian(r, t, z, x, y, order=3), interpolation='nearest')
fig.savefig('test2.png')
Преобразование полярной сетки в декартову