wavedrom / zoom

🔍 Zoomable Waveform viewer for the Web
MIT License
43 stars 1 forks source link

Bokeh integration #17

Open jeras opened 5 years ago

jeras commented 5 years ago

Bokeh is a Python/javascript based data presentation tool.

It allows creation of WEB based interfaces, where data can be pushed from server Python code to client javascript code. I used Bokeh to create an oscilloscope with a Jupyter server running on Red Pitaya. The client was able to achieve 18fps (frames per second). Unfortunately I was unable to polish the code further then a buggy demo. In addition to Bokeh running in Jupyter, it also allows the creation of standalone applications, where the entire screen is dedicated to the application. But again, I was unable to get it to work.

If Bokeh supported waveforms, it would be possible to create a web based logic analyzer. Another application would be a WEB based waveform viewer for the Python based logic analyzer sigrok.

Support for zooming is already part of Bokeh, I see a far zoom-out as the main problem, since it requires a lot of data to be compressed onto a limited screen. If this is not optimized, viewing can become slow.

This is an example I stated from, most other examples I linked to are just source code, this one is active. https://demo.bokeh.org/sliders

You probably already know EPWave, but this one is not open source.