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

snapshot...

parent 2f34f54c
No related branches found
No related tags found
No related merge requests found
...@@ -174,9 +174,7 @@ def run(data_h5f, param_s, tiles, tile_width=64, kernel_size=9): ...@@ -174,9 +174,7 @@ def run(data_h5f, param_s, tiles, tile_width=64, kernel_size=9):
continue continue
nda = data[:, j_m-border:j_stop, i_m-border:i_stop] nda = data[:, j_m-border:j_stop, i_m-border:i_stop]
tmp = nda[1, :, :] tiles.append(nda)
if (np.sum(np.isnan(tmp)) / tmp.size) < 0.10:
tiles.append(nda)
def scan(directory): def scan(directory):
......
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