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

snapshot...

parent bffca358
No related branches found
No related tags found
No related merge requests found
......@@ -709,6 +709,10 @@ def analyze():
grd_lr = grd[::2, ::2]
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 = np.where(grd_lr < 0, 0, grd_lr)
grd_lr = np.where(grd_lr > 1, 1, grd_lr)
x = np.arange(lenx)
y = np.arange(leny)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment