AllenNeuralDynamics / dynamic-foraging-task

Bonsai/Harp workflow for Dynamic Foraging with Python GUI for visualization and control
MIT License
5 stars 4 forks source link

Faster refresh rate on GUI plots #480

Closed alexpiet closed 1 month ago

alexpiet commented 1 month ago

Is your feature request related to a problem? Please describe. @travisjramirez and @NgD-Huy request that the GUI plots refresh more frequently so that they can observe mouse licks.

Describe the solution you'd like I believe that the GUI updates the graphs at the start of each trial, but especially with delay periods for early licking, that period could get longer. We should update the GUI so that it refreshes (in a thread) more frequently, maybe every 100ms?

Moving from: https://github.com/AllenNeuralDynamics/aind-behavior-blog/issues/407

galenlynch commented 1 month ago

It seems like online visualization would be well handled by bonsai.

hagikent commented 1 month ago

If there is no other motivation to make the GUI refresh faster, besides plotting licks, I will take care of it rather in Bonsai and close this. See https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/499