You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ValueError: The given Probe have 'device_channel_indices' that do not match channel count 63 vs 60 #2470
Greetings. I have a batch script to process multiple recordings and I am currently running into an error. Each recording is a tetrode recording with either 62,63,64, or 67 channels. As such I need to cut out any channels that are labeled Auxillary and then also remove an extra channels that are not part of a full tetrode. In my following code using it on a recording that is originally 62 channels I get the error listed in the title. When looking at the code the prompts the error there is a TODO comment above it. I am wondering if there is some sort of extrapolation to add channels to the tetrode maps because the length of the channel_nums list I have is 60 and exporting the probe to a dataframe to look at all the information points towards no errors there either. Perhaps I am simply making an error in my script somewhere but this may also be something inherent to spikeinterface itself currently. Thank you for your help
The device_channel_indices indicate the channel index that each contact correspond to. Therefore, the highest device channel index CANNOT exceed the number of channels - 1, because it indexes the traces.
Activity
alejoe91 commentedon Feb 5, 2024
Hi @NathanielH-snek
The
device_channel_indicesindicate the channel index that each contact correspond to. Therefore, the highest device channel index CANNOT exceed the number of channels - 1, because it indexes the traces.NathanielH-snek commentedon Feb 5, 2024
So this is not a result of the actual number of the labels but rather the actual values associated with them if I'm understanding this correctly?