`read_spikegadgets_neuropixels` applies a display offset to multi-probe geometry; should it?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start at read_spikegadgets_neuropixels and trace how multi-probe contact_positions are populated, then review the display offset introduced in #260 and generalized in #441. Check the plotting path to determine where overlap spreading belongs. Done means absolute contact_positions remain unmodified, while multi-probe plots can still separate overlapping probes during rendering.
Written by the indexing model from the issue text.
Description
Today read_spikegadgets_neuropixels shifts each probe in a multi-probe .rec by multi_probe_plot_offset_um * (probe_index - 1) on the x axis (250 um for NP1.0 and NP2.0 single-shank, 1000 um for NP2.0 4-shank). The shift was introduced in #260 to keep multi-probe ProbeGroup plots visually distinguishable: the catalogue probe sits at origin, so without it two or three NP1.0 probes would stack on top of each other. In #418 I kept the line, and in #441 I generalised the magnitude per format, but the display-only transform is still baked into contact_positions.
As far as I am aware read_spikegadgets_neuropixels is the only multi-probe Neuropixels reader that does this. Downstream consumers that read absolute coordinates (stereotactic registration, custom multi-probe layouts) see invented values for probes 2 and 3, with no annotation and no opt-out. I think the better fix lives in the plot function: detect overlap and spread probes only when rendering. That keeps contact_positions honest and would help any multi-probe reader, not just SpikeGadgets. What do you think?
- Dominant language
- Python
- Stars
- 85
- Forks
- 49
- Avg merge
- 13h 47m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SpikeInterface/probeinterface
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
SpikeInterface/probeinterface#469 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
SpikeInterface/probeinterface#465 ·
-
Difficulty 5/5 Over a week Newbie friendliness 48/100
SpikeInterface/probeinterface#452 · 1 comment ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 45/100
SpikeInterface/probeinterface#449 · 7 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
SpikeInterface/probeinterface#447 · 2 comments · 1 reaction ·
All issues in SpikeInterface/probeinterface
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·