Skip to content

Commit 54d4fac

Browse files
author
Thinh Nguyen
committed
fix(probe_geometry): bugfix in x_coords for probe with staggered electrode positions
1 parent 6184b2f commit 54d4fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element_array_ephys/readers/probe_geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def build_electrode_layouts(
188188
row_offset = np.zeros_like(x_coords)
189189
else:
190190
assert len(row_offset) == row_count
191-
row_offset = np.tile(row_offset, col_count_per_shank)
191+
row_offset = np.repeat(row_offset, col_count_per_shank)
192192
x_coords = x_coords + row_offset
193193

194194
shank_cols = np.tile(range(col_count_per_shank), row_count)

0 commit comments

Comments
 (0)