Closed NathanielH-snek closed 9 months ago
Hi @NathanielH-snek
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.
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?
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