add keywords for all nodes
This commit is contained in:
@@ -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[y−ty, x−tx] + 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)
|
||||
|
||||
@@ -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), \
|
||||
|
||||
Reference in New Issue
Block a user