Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GUI for Neuropixels V1e #231

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Add GUI for Neuropixels V1e #231

merged 8 commits into from
Aug 22, 2024

Conversation

bparks13
Copy link
Member

@bparks13 bparks13 commented Aug 20, 2024

This PR aims to add a dialog GUI for the NeuropixelsV1e headstage.

Controls are based on NeuropixelsV2e GUI, for more info on the controls see #214.

One major difference between V1 and V2 is that V1 has two separate calibration files that are required (Gain and ADC). The probe will not be visible unless both files exist and are selected.

Closes #106

- Ensure reference contacts are correctly highlighted
- Update adc/gain calibration file parsing
- Fix anchors for controls to allow resizing more fluidly
- Add icons to dialogs
- Add zoom in boundary
- Reduce scale bar thickness
- Fix splitter panel distance
@bparks13 bparks13 added this to the 0.2.0 milestone Aug 20, 2024
@bparks13 bparks13 requested a review from jonnew August 20, 2024 20:48
@bparks13 bparks13 self-assigned this Aug 20, 2024
- Until we can properly validate files using a schema, we cannot parse the calibration files using the GUI as any exceptions cause the dialog to crash
@jonnew
Copy link
Member

jonnew commented Aug 21, 2024

We will need to bring the changes from #243 into this PR, I suppose.

@bparks13
Copy link
Member Author

@jonnew actually we won't need to, the scaling issues occurred at the device/headstage level, not the common framework level. Meaning, I was able to fix the NeuropixelsV2e dialogs in #243, which modifies the dialogs that are in main, and I took the same steps to fix the NeuropixelsV1e dialogs. I just need to finish testing and push that commit to this PR.

- Make labels uniform
- Tool tips on NP1.0 and uniform messages
- Uniform look and feel (background color, track bar)
@jonnew
Copy link
Member

jonnew commented Aug 22, 2024

@bparks13 I made some minor changes to make the NP GUIs more uniform. Once you confirm I have not broken anything, lets merge this.

Copy link
Member

@jonnew jonnew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please perform a final sanity check on my latest small changes and then we can merge.

- A panel was removed, but the relevant code was left in place, leading to build errors
@bparks13 bparks13 merged commit e5e5a97 into main Aug 22, 2024
6 checks passed
@bparks13 bparks13 deleted the issue-106-gui branch August 22, 2024 17:45
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.

Headstage Neuropixel 1.0e - GUI
2 participants