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

headstage-rhs2116 support #312

Merged
merged 9 commits into from
Oct 21, 2024
Merged

headstage-rhs2116 support #312

merged 9 commits into from
Oct 21, 2024

Conversation

jonnew
Copy link
Member

@jonnew jonnew commented Sep 25, 2024

This PR combines @bparks13's GUI work and @jonnew's dual rhs2116 support. It supersedes #67

Fixes #122
Fixes #26
Fixes #320
Fixes #221
Fixes #308

bparks13 and others added 2 commits September 20, 2024 17:19
- Includes squashed commits from issue-26
- Cleanup internal code
- Brought Rhs2116 Dialogs up to date with common framework functionality
- Fixed several errors in logic when multiple probes are utilized
- Add XML comments to all public properties and methods
- Added categories to Configure nodes
- Removed documentation link, not necessary or maintainable
- Changed the containers from splitter panels to flow layout / table layout panels to handle different scale zooms
- Fixed an error introduced during refactoring that screwed up the Y-axis labels
- Fixed incorrect logic for reading and writing parameters from / to electrodes
- Modified the default font size to be more legible
- Fully functional sychronized rhs2116 pair with common configuration
  properties
- GUIs work but labels might be messed up
Copy link
Member

@bparks13 bparks13 left a comment

Choose a reason for hiding this comment

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

Many of these are comments for myself to fix as I work on #320.

.gitignore Outdated Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116Pair.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116Pair.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116Trigger.cs Show resolved Hide resolved
OpenEphys.Onix1/ConfigureRhs2116Trigger.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/Rhs2116ProbeGroup.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/Rhs2116ProbeGroup.cs Outdated Show resolved Hide resolved
OpenEphys.Onix1/Rhs2116StimulusSequenceDual.cs Outdated Show resolved Hide resolved
- Subscribe -> SubscribeSafe for property behavior subjects
- Device registration occurs after all Property Subscribe safe calls
  when returning CompositeDisposable
- Naming and XML fixes
@jonnew
Copy link
Member Author

jonnew commented Oct 3, 2024

Addressed most of the comments, there are a couple that need further clarification

…r waveforms

- Step size is no longer selectable; users enter a target amplitude, and the smallest possible step size is chosen automatically
  - Step size is now only updated during `Add Pulses`; existing amplitudes are preserved if possible, or removed if they are incompatible with the new step size
- Cathodic / anodic amplitudes are now processed correctly if `Biphasic Symmetric` is unchecked
- Added a parsing check for the data grid view in case the user tries to manually enter a value outside of the bounds of a byte
- Add icon to dialogs
- Reversed Y-axis orientation for waveforms
- The waveform now zooms in on the cursor, and has boundaries both zooming in and zooming out
@jonnew
Copy link
Member Author

jonnew commented Oct 14, 2024

Ok, we are getting down to the frivolous stuff:

image

@bparks13 bparks13 added this to the 0.4.0 milestone Oct 17, 2024
bparks13 and others added 5 commits October 17, 2024 15:09
- Scale bar automatically adjusts to show the current time / amplitude
- Zoom logic updated to enable smoother transitions at the edges, not as jumpy now when reaching the edge of the boundary
- Y-Axis is now channel number instead of the amplitude values
- Zero-index the waveform channels
- Truncate times in the scale bar to minimize visual clutter
- Increase specificity of error message when step sizes are inconsistent
- Modified button names to be more clear
@bparks13 bparks13 merged commit 199c6f9 into main Oct 21, 2024
7 checks passed
@bparks13 bparks13 deleted the issue-26-gui branch October 21, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants