Skip to content

Commit 6d69d9d

Browse files
Cite SpikeGadgets author confirmation in NP2.0 4-shank remap docstring
Mattias Karlsson, the Trodes author, confirmed the channelsOn layout empirically derived in #441 on the PR thread. Quote the relevant description directly in the docstring so the formula has a primary-source citation next to it, not just the fixture-based verification. Co-Authored-By: Roberto <37729096+RobertoDF@users.noreply.github.com>
1 parent c1abdab commit 6d69d9d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/probeinterface/io.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,12 @@ def _spikegadgets_channel_index_np2_4shank(channel_index: int) -> int:
749749
SpikeChannel entries match the catalogue positions up to a single stereotactic
750750
offset (these XML coords are not consumed by the reader, only used by the
751751
test in `tests/test_io/test_spikegadgets.py` as an independent cross-check).
752+
Independently confirmed in May 2026 by Mattias Karlsson (SpikeGadgets /
753+
Trodes author) on PR #441: "the 2.0 four-shank probe has two columns per
754+
shank... the first electrode on the probe (starts with 1) is in the lower
755+
right, and number 10008 is on the lower left. Then, 10009 is the second
756+
row on the right, and so on", which is exactly the (row, col_global=7-x)
757+
layout this function encodes.
752758
"""
753759
CONTACTS_PER_ROW = 8 # 2 columns per shank * 4 shanks
754760
COLS_PER_SHANK = 2

0 commit comments

Comments
 (0)