Commit f02054bf authored by Zhang Xin's avatar Zhang Xin
Browse files

pep8

parent 0b7b3a2b
Pipeline #7833 failed with stage
in 0 seconds
...@@ -147,7 +147,7 @@ class FlatLED(MockObject): ...@@ -147,7 +147,7 @@ class FlatLED(MockObject):
y_seg_len = 8 y_seg_len = 8
x_seg = int(self.chip.npix_x/x_seg_len) x_seg = int(self.chip.npix_x/x_seg_len)
y_seg = int(self.chip.npix_y/y_seg_len) y_seg = int(self.chip.npix_y/y_seg_len)
U = np.zeros([self.chip.npix_y,self.chip.npix_x],dtype=np.float32) U = np.zeros([self.chip.npix_y, self.chip.npix_x], dtype=np.float32)
for y_seg_i in np.arange(y_seg_len): for y_seg_i in np.arange(y_seg_len):
for x_seg_i in np.arange(x_seg_len): for x_seg_i in np.arange(x_seg_len):
U[y_seg_i*y_seg:(y_seg_i+1)*y_seg, x_seg_i*x_seg:(x_seg_i+1)*x_seg] = griddata(X_, Z_, ( U[y_seg_i*y_seg:(y_seg_i+1)*y_seg, x_seg_i*x_seg:(x_seg_i+1)*x_seg] = griddata(X_, Z_, (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment