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

snaphot...

parent dd1a300d
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ def keep_tile(param_s, tile):
total = np.sum(keep)
keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if keep/total > 0.5:
if np.sum(keep)/total > 0.5:
return True
else:
return False
......
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