-
Notifications
You must be signed in to change notification settings - Fork 4
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
PyqtgraphViewer #303
PyqtgraphViewer #303
Conversation
There are couple issues:
|
8f02fec
to
d93f4a3
Compare
0b7d799
to
0d2713c
Compare
@pavel-rybalko I took the liberty to try to use remote graphics which offloads the rendering to a separate process. However, there are two problems:
|
As far as I can see there is no problem integrating both event loops. But it seems that PyQtGraph implicitly starts the loop. |
I've added a gevent support for the viewer, but it's kinda dirty and still under development |
8f3cc21
to
4b82ae6
Compare
I've done some tests and measurements regarding performance of However, I found another library for visualization , which is OpenGL-based library called Vispy. And it works pretty fast (here is my script): Comparing all 3 libraries: |
Nice summary, thanks. I would not go for Pyqtgraph and wait for vispy. |
ToDo: |
Sorry to interrupt; I got here by way of a related discussion on vispy. Your pyqtgraph test uses ImageView, which is not intended for video performance (the histogram computation and plotting is quite expensive). I recommend looking at |
Thanks for the pointer. I hope @pavel-rybalko could redo the test before leaving back? |
That looks about right. Also note that the vispy framerates are probably limited by the GUI toolkit; their theoretical maxima should be much higher (so you will need much less CPU time to achieve the same framerate on vispy than other libraries). |
I wrote a script, which uses |
Image viewer based on Pyqtgraph lib