add keywords for all nodes

This commit is contained in:
2026-04-04 14:58:56 -07:00
parent 69f1d1bebd
commit a0d3b22f18
195 changed files with 437 additions and 198 deletions

View File

@@ -97,7 +97,7 @@ def test_deconv_sharpens_broadened_image():
# Simulate measured image via tip dilation (Gwyddion gwy_tip_dilation):
# dilation_tip = tip - max(tip) (max shifted to 0, values ≤ 0)
# measured[y,x] = max_{ty,tx}[surface[yty, xtx] + dilation_tip[ty,tx]]
# measured[y,x] = max_{ty,tx}[surface[y-ty, x-tx] + dilation_tip[ty,tx]]
dilation_struct = tip_data - tip_data.max()
measured_data = grey_dilation(data, structure=dilation_struct)
measured = make_field(data=measured_data)

View File

@@ -411,7 +411,7 @@ def test_pipeline_demo_image():
assert grain["max_height"] >= grain["mean_height"]
assert grain["mean_height"] > 0
# Physical size sanity: equivalent diameters should be in the nmµm range
# Physical size sanity: equivalent diameters should be in the nm-µm range
diams_nm = [g["equiv_diam_m"] * 1e9 for g in table]
print(f" Diameters: min={min(diams_nm):.0f} nm, max={max(diams_nm):.0f} nm")
assert all(1 < d < 2000 for d in diams_nm), \