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

minor...

parent e652f694
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ def run_one(data_h5f, data_tiles, tile_width=64, kernel_size=9):
for param in data_params:
try:
grd = get_grid_values(data_h5f, param, 0, 0, None, num_lines, num_pixels, range_name=None)
# if param == 'temp_11_0um_nom' and ((np.sum(np.isnan(grd)) / grd.size) > 0.10):
# if param == 'temp_11_0um_nom' and ((np.sum(np.isnan(grd)) / grd.size) < 0.10):
# return
grd_s.append(grd)
except Exception as e:
......@@ -258,7 +258,7 @@ def run_one(data_h5f, data_tiles, tile_width=64, kernel_size=9):
nda = data[:, j_m-border:j_stop, i_m-border:i_stop]
tmp = nda[1, :, :]
if (np.sum(np.isnan(tmp)) / tmp.size) > 0.10:
if (np.sum(np.isnan(tmp)) / tmp.size) < 0.10:
data_tiles.append(nda)
......
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