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

snapshot...

parent cae40d66
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,7 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp)
if DO_SMOOTH:
tmp = smooth_2d(tmp, sigma=SIGMA)
# tmp = median_filter_2d(tmp)
if DO_ESPCN:
tmp = tmp[:, slc_y_2, slc_x_2]
else: # Half res upsampled to full res:
......@@ -333,6 +334,7 @@ class SRCNN:
if DO_SMOOTH:
label = np.where(np.isnan(label), 0, label)
label = smooth_2d(label, sigma=SIGMA)
# label = median_filter_2d(label)
label = label[:, y_128, x_128]
if label_param != 'cloud_probability':
......
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