_y_r = list(range(yd))
z_r = list(range(zd))
# invert the indices if needed
- if SVSHAPE.invxyz[0]: x_r.reverse()
- if SVSHAPE.invxyz[1]: y_r.reverse()
+ if SVSHAPE.invxyz[0]: _x_r.reverse()
+ if SVSHAPE.invxyz[1]: _y_r.reverse()
if SVSHAPE.invxyz[2]: z_r.reverse()
# start an infinite (wrapping) loop
step = 0 # track src/dst step
VL = 12 # modulo
# matrix modulo
- xdim, ydim, zdim = 4, 4, 1 # set the dimension sizes here
+ xdim, ydim, zdim = 4, 3, 1 # set the dimension sizes here
print("\nmatrix modulo(%d)" % VL, xdim, ydim, zdim)
SVSHAPE0 = SVSHAPE()
SVSHAPE0.lims = [xdim, ydim, zdim]
- SVSHAPE0.order = [0,1,2] # experiment with different permutations, here
+ SVSHAPE0.order = [1,0,2] # experiment with different permutations, here
SVSHAPE0.mode = 0b11
SVSHAPE0.submode = 0b00 #
SVSHAPE0.skip = 0b00