Skip to content
Snippets Groups Projects
Commit bfa265e4 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 3469a940
Branches
No related tags found
No related merge requests found
......@@ -718,7 +718,7 @@ def analyze():
print(grd_lr.shape)
leny, lenx = grd_lr.shape
rnd = np.random.normal(loc=0, scale=0.001, size=grd_lr.size)
grd_lr += rnd
grd_lr += rnd.reshape(grd_lr.shape)
grd_lr = np.where(grd_lr < 0, 0, grd_lr)
grd_lr = np.where(grd_lr > 1, 1, grd_lr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment