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

snapshot...

parent 4feea273
Branches
No related tags found
No related merge requests found
......@@ -87,13 +87,13 @@ KERNEL_SIZE = 3
X_LEN = Y_LEN = 128
if KERNEL_SIZE == 3:
slc_x = slice(0, int(X_LEN/4) + 2)
slc_y = slice(0, int(Y_LEN/4) + 2)
slc_x = slice(0, X_LEN // 4 + 2)
slc_y = slice(0, Y_LEN // 4 + 2)
x_64 = slice(4, X_LEN + 4)
y_64 = slice(4, Y_LEN + 4)
elif KERNEL_SIZE == 1:
slc_x = slice(4, X_LEN + 4)
slc_y = slice(4, Y_LEN + 4)
slc_x = slice(1, X_LEN // 4 + 1)
slc_y = slice(1, Y_LEN // 4 + 1)
x_64 = slice(4, X_LEN + 4)
y_64 = slice(4, Y_LEN + 4)
# ----------------------------------------
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment