ENH Tony's comments on random walker

This commit is contained in:
emmanuelle
2012-01-23 19:47:16 +01:00
parent 6559b8f31d
commit 46d330591f
2 changed files with 6 additions and 5 deletions
@@ -39,7 +39,6 @@ def microstructure(l=256):
"""
n = 5
x, y = np.ogrid[0:l, 0:l]
mask_outer = (x - l / 2) ** 2 + (y - l / 2) ** 2 < (l / 2) ** 2
mask = np.zeros((l, l))
generator = np.random.RandomState(1)
points = l * generator.rand(2, n ** 2)