yves-weissenberger / twoptb

Python toolbox for analysing data from two photon imaging experiments
0 stars 1 forks source link

ROI drawer not responsive #9

Closed samupicard closed 6 years ago

samupicard commented 6 years ago

ROI drawer GUI becomes unresponsive at times during video playing, especially when increasing rolling average / spatial smoothing and panning/zooming at the same time. Only way to overcome is to close python completely - no error messages appear.

Issue pops up in windows on a large D drive, even when barely anything else is running in the background. Loading the stack into RAM doesn't solve the issue.

Seems to be a graphics buffering issue or sth like that - related to frame playback rate?

yves-weissenberger commented 6 years ago

go into ./ROIs/PyQtGraph_ROI_Drawer.py and reduce framerate. Do this by setting self.IFI to a larger value, setting to 20 solves the problem.