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

snapshot...

parent ae1f27d9
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ def keep_tile(param_s, tile): ...@@ -66,7 +66,7 @@ def keep_tile(param_s, tile):
return False return False
keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False) keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if np.sum(keep)/total > 0.6: if np.sum(keep)/total > 0.7:
return True return True
else: else:
return False return False
...@@ -203,7 +203,7 @@ def run(data_h5f, param_s, tiles, tile_width=64, kernel_size=9, day_night='ANY') ...@@ -203,7 +203,7 @@ def run(data_h5f, param_s, tiles, tile_width=64, kernel_size=9, day_night='ANY')
tile_width + 2 * border tile_width + 2 * border
num_keep_x_tiles = 4 num_keep_x_tiles = 6
i_skip = tile_width i_skip = tile_width
j_skip = tile_width j_skip = tile_width
i_start = int(num_pixels / 2) - int((num_keep_x_tiles * tile_width) / 2) i_start = int(num_pixels / 2) - int((num_keep_x_tiles * tile_width) / 2)
......
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