Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Apply tiny suggestions from code review
Browse files Browse the repository at this point in the history
improve comment
more precise test data
  • Loading branch information
alessandrofelder authored Mar 31, 2023
1 parent 8ed73ef commit 3c0bfb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/filter_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
shape = (10000, 10000)

signal_array_plane = np.random.randint(
low=0, high=65535, size=shape, dtype=np.uint16
low=0, high=65536, size=shape, dtype=np.uint16
)

clipping_value, threshold_value = setup_tile_filtering(signal_array_plane)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Point:


UINT64_MAX = np.iinfo(np.uint64).max
N_NEIGHBOURS_4_CONNECTED = 3 # top left, below
N_NEIGHBOURS_4_CONNECTED = 3 # below, left and behind
N_NEIGHBOURS_8_CONNECTED = 13 # all the 9 below + the 4 before on same plane


Expand Down

0 comments on commit 3c0bfb2

Please sign in to comment.