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

snaphot...

parent dd1a300d
Branches
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.
Please register or to comment