unwrap: Make sure test data wraps along all dimensions.

This commit is contained in:
Jostein Bø Fløystad
2013-11-22 10:45:06 +01:00
parent 619da811d8
commit c0d0984049
+1 -1
View File
@@ -50,7 +50,7 @@ def test_unwrap_2d():
def test_unwrap_3d():
x, y, z = np.ogrid[:8, :12, :4]
x, y, z = np.ogrid[:8, :12, :16]
image = 2 * np.pi * (x * 0.2 + y * 0.1 + z * 0.05)
yield check_unwrap, image
mask = np.zeros(image.shape, dtype=np.bool)