def test_grad(): im=io.imread('pru.png') out=a3.gradientMagnitude(im) io.imwrite(out, 'my_gradient.png')