Skip to content

OpenEphys: check channel maps on same signal chain as NP probe - #471

Merged
alejoe91 merged 5 commits into
SpikeInterface:mainfrom
alejoe91:fix-multiple-signal-chains
Oct 13, 2026
Merged

alejoe91 merged 5 commits into
SpikeInterface:mainfrom
alejoe91:fix-multiple-signal-chains

Conversation

@alejoe91

Copy link
Copy Markdown
Member

This PR fixes an issue when there are multiple signal chains (e.g. 2 sources) and there is a channel map in a signal chain different than the one with the Neuropixels probe.

We had logic to apply the esixting channel map, but it was not checking if the channel map was actually applied to the NP probe or other sources!

This PR fixes it by keeping a signal chain index for the NP_PROBE and CHANNEL_MAP processors and only applies the mapping if they match. Added a test file and a small test for this new fix.

@alejoe91
alejoe91 requested a review from chrishalcrow October 13, 2026 10:42
@samuelgarcia

Copy link
Copy Markdown
Member

I am a bit ost in this XML from openephys but I trust you.

Comment thread src/probeinterface/neuropixels_tools.py
@alejoe91
alejoe91 merged commit 4c95778 into SpikeInterface:main Oct 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants