Skip to content

Conversation

bparks13
Copy link
Member

@bparks13 bparks13 commented Sep 8, 2025

  • Deprecate the QuadShank classes in favor of the more generic configuration classes that can be either quad- or single-shank
  • Update shift register bit setting for single-shank probes
  • Add combo box to the 2.0 GUIs allowing the user to change the probe type

Fixes #446

View of the editor:
image

The properties will not appear different to the user, but on the backend the type has changed. This does not affect old versions being loaded, as the type is not recorded in the XML file, only the name and the properties.

Example GIF: Changing Probe Type Manually
issue-446

In the above GIF, we can see how the user will interact with changing the probe type, and how it affects the drop-down menus for the reference and electrode presets.

Example GIF: Loading Saved Files and Loading Default Configuration
load-files-and-default

This example shows how the user can load a saved file (either single- or quad-shank); it gives a warning if the current probe type does not match the incoming type, but does allow the user to continue if they wish. If the types match then no warning is given.

The default configuration is based on the selected probe type.

Testing Required

I do not have access to a single-shank Neuropixels 2.0 probe, so this will need to be tested with one of those probes before we can merge this PR.

- Deprecate the QuadShank classes in favor of the more generic configuration classes that can be either quad- or single-shank
- Update shift register bit setting for single-shank probes
- Add combo box to the 2.0 GUIs allowing the user to change the probe type
@bparks13 bparks13 added this to the 0.6.1 milestone Sep 8, 2025
@bparks13 bparks13 requested a review from jonnew September 8, 2025 20:57
@bparks13 bparks13 self-assigned this Sep 8, 2025
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.

Add support for single-shank NP 2.0 probes
1 participant