Want to have a little user interface for easy tuning of parameters without clinicians needing to alter the code.
This should primarily let the user select the amplitude of the stimulation and, depending on the criteria used to gate the stimulation, to alter the threshold or any other tunable gating parameters that need to be adapted to the current breather.
There should also be an additional config button to allow the user to modify additional parameters (such as the pulse width, etc) but this should be a pop out/ additional screen only when config is clicked to prevent the interface being too busy.
What needs to be done?
[ ] GUI with entry option for the current setting (mA)
[ ] Need a check in the code to restrict the current amplitude to sensible values and floats (2mA cap?)
[ ] Have a configure button on the GUI which will pop open a new window to give more parameter configuration options - for all stimulation parameter
[ ] In configuration have an option to select the save file location
[x] Have a prompt to save data upon clicking close button?
[x] Would be good to have some sort of indicator on the GUI that stimulation is happening - poss. a plot of the stim when it happens? If this would be too laggy and create delays then can do this as just an on/ off light or other indicator.
Summary
Want to have a little user interface for easy tuning of parameters without clinicians needing to alter the code. This should primarily let the user select the amplitude of the stimulation and, depending on the criteria used to gate the stimulation, to alter the threshold or any other tunable gating parameters that need to be adapted to the current breather. There should also be an additional config button to allow the user to modify additional parameters (such as the pulse width, etc) but this should be a pop out/ additional screen only when config is clicked to prevent the interface being too busy.
What needs to be done?
Updates