Closed ja-94 closed 1 year ago
Seconding this issue with 4-shank np probes. The channel sites had been mapped correctly when viewing kilosort output in phy with an older version of spikeinterface (0.96.1) that I was running, but this was broken when I updated.
Hi guys, can you try to install probeinterface
from the main branch? I believe this has been fixed here: https://github.com/SpikeInterface/probeinterface/pull/205
Hi @alejoe91 ,
Thanks for your reply!
I tried erasing the older folder and re-installing with these commands:
git clone https://github.com/SpikeInterface/spikeinterface.git
cd spikeinterface
pip install -e .
cd ..
Still getting the same plot, not sure if I did something wrong.
Hi @ja-94
Can you do the exact same with https://github.com/SpikeInterface/probeinterface.git ?
Thanks Alessio, this worked for me! Had to call pip install git+https://github.com/SpikeInterface/probeinterface.git
inside my conda env (in case anyone runs into same issue).
That worked! Thanks @alejoe91
Hi,
I'm using 2.0 Neuropixel probes with 4 shanks. Following the 'Analyze Neuropixels datasets' tutorial I see that
si.plot_probe_map(raw_rec, ax=ax, with_channel_ids=True)
produces a plot with the wrong channel mapping, where all channels appear on the first shank, even though the four shanks are plotted.With
ax.set_ylim(-50, 3000)
:According to this issue the problem with plotting 4 shank probes was solved by upgrading to version 0.97.1, but I'm running version 0.99.0.dev0 and something similar is happening.
I run the whole tutorial and the shanks are being represented as a single one on the sortingview widget as well, so I guess they are just being treated as a single shank throughout the tutorial?
What is recommended for these probes? Should I just split the files into one per shank and analyze them separately like here, or is there a way to treat them as a single probe with four shanks?
Thanks!!