SpikeInterface/probeinterface

Analyzing data from Neuropixels 2.0 with 4 shanks

Closed this issue · 2 comments

ja-94 commented

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.

WrongChannelMap

With ax.set_ylim(-50, 3000):

WrongChannelMap

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!!

ja-94 commented

Sorry, probably belongs in spikeinterface instead, if so feel free to close this one.

Hi @ja-94

As mentioned here (SpikeInterface/spikeinterface#1923) the problem has been fixed in main via #205. We'll make a new release soon!