pulp-bio / wulpus

Wearable Ultra Low-Power Ultrasound probe
66 stars 8 forks source link

Update GUIs #6

Closed CedricHirschi closed 11 months ago

CedricHirschi commented 1 year ago

To use this B_mode plotting, the user has to use the bmode_configs.json config set. This could be implemented directly into the configs GUI.

Further changes

Moved GUI visualization to a seperate thread

TODO

CedricHirschi commented 12 months ago

Changes

TODO

CedricHirschi commented 12 months ago

Changes

Finished TODOs

Sergio5714 commented 11 months ago

@CedricHirschi, Nice contribution! I have noticed a some minor issues and also left some comments below. Please, address them. USS config GUI:

Test Jupyter notebook:

Source files:

Other than that, everything seems good to me :)

CedricHirschi commented 11 months ago

@Sergio5714 Thanks for the feedback. I have now implemented the changes. I know we are leaving the GUI for now, but here are some suggestions from my side:

Fixes

Features

Sergio5714 commented 11 months ago

@CedricHirschi Thanks, Cedric! Please address a few minor comments (which you probably forgot):

Regarding the max_vis_fps parameter, I have just checked your code for visualization. Since your code does not have any sleep statements, it will keep the thread active 100% of the time. If that is true, this is not a desired behavior. Therefore, could you please implement the following:

Regarding the proposed features:

  1. Could you please explain what this feature would bring for the user? What problem is it solving?
  2. Nice proposal! However, it is not always 100% useful, since we are using different devices with the same type of the nRF dongle (example - BioWolf platform). Many times we want to use the different systems simultaneously on the same PC. Therefore, we need the flexibility to choose the COM port.
CedricHirschi commented 11 months ago

@Sergio5714 I have implemented the oversights. The plots now update with max_vis_fps, the progress bar in real time.

Regarding my propositions:

  1. This would enable the user changing the RX/TX configs and running a new acquisition instantly without rerunning above cells again.
  2. I see the reasoning.
CedricHirschi commented 11 months ago

Regarding my first proposition:

Sergio5714 commented 11 months ago

Great, thank you, @CedricHirschi! Now the visualization is much more efficint from a computational point of view. A user can set up the visualization rate according to the specs of his machine!

The only thing left is Changelog. This time I will add it manualy (so that you can focus on describing newly added features in the User Guide).

Well done!