fixing pep8 [ci min]
@@ -8,9 +8,6 @@ plt.rcParams['figure.facecolor'] = "#FFFFFF" # "#002b36"
# %% Generate or load a test image
np.random.seed(5)
-# im = ps.generators.perlin_noise(shape=[512, 512], frequency=8, octaves=4, porosity=0.6)
-# im = imageio.imread(r"C:\Users\Jeff\OneDrive - University of Waterloo\Manuscripts\Paper 061 - MIO-based IP\IP_2D_1.tif")
-# im = im != 0
im = ps.generators.blobs(shape=[500, 500], porosity=0.6, blobiness=2)
# Generate border
bd = np.zeros_like(im, dtype=bool)
@@ -90,8 +87,3 @@ if 1:
ax.semilogx(np.array(d.pc), d.snwp, 'g-', linewidth=2.0)
ax.semilogx(np.array(e.pc), e.snwp, 'r--', markersize=20, linewidth=5, alpha=0.6)
ax.xaxis.grid(True, which='both')
-
-# %%
-temp = (~im)*255 + (inv_satn > 0)*255*np.clip(inv_satn, a_min=0, a_max=1)
-temp =(temp).astype(int)
-# imageio.imsave(r"C:\Users\Jeff\OneDrive - University of Waterloo\Manuscripts\Paper 061 - MIO-based IP\result.tif", temp)
