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

snapshot...

parent c69f6762
Branches
No related tags found
No related merge requests found
...@@ -795,7 +795,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): ...@@ -795,7 +795,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
grd_b = get_grid_values_all(h5f, 'super/refl_0_65um') grd_b = get_grid_values_all(h5f, 'super/refl_0_65um')
grd_b = np.where(np.isnan(grd_b), 0, grd_b) grd_b = np.where(np.isnan(grd_b), 0, grd_b)
grd_b = grd_b[y_0:y_0+sub_y, x_0:x_0+sub_x] grd_b = grd_b[y_0:y_0+sub_y, x_0:x_0+sub_x]
grd_b = grd_b.expand_dims(axis=0) grd_b = np.expand_dims(grd_b, axis=0)
lo, hi, std, avg = get_min_max_std(grd_b) lo, hi, std, avg = get_min_max_std(grd_b)
lo = normalize(lo, 'refl_0_65um_nom', mean_std_dct) lo = normalize(lo, 'refl_0_65um_nom', mean_std_dct)
hi = normalize(hi, 'refl_0_65um_nom', mean_std_dct) hi = normalize(hi, 'refl_0_65um_nom', mean_std_dct)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment