简体   繁体   中英

Displaying EMG (Electromyography) with PyQT Python

I have to display an elecromyography (it's like an electrocardiogram) based on values i get from another file. Is there any widget in python Qt which will allow me to do that ?

What i want is something which will look like this picture :

Example of EMG

So, a graph based on the time (x) and voltages (y)

Thx for your help !

There is no built-in widget that will directly give you anything as complex as an EMG graph, so you would have to write something yourself using Qt's Graphics View Framework , which would obviously be quite a lot of work.

For out-of-the-box solutions, you could try something like Qwt (Qt Widgets for Technical Applications), for which PyQwt provides python bindings. Or there's also matplotlib , which has a backend which provides support for PyQt/Qt.

UPDATE :

As has been pointed out, there's also PyQtGraph . But rather than list all the possibilities here, it would probably be easier to just point you towards the Graphical Representations of Data page on the Python Wiki.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM