Skip to content

Modular PySide6 GUI for acquiring and visualizing bio-signals from different sources

License

Notifications You must be signed in to change notification settings

pulp-bio/biogui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biogui

Introduction

Modular PySide6 GUI for acquiring and visualizing bio-signals from different sources.

Usage

Environment setup

The code is compatible with Python 3.7+. To create and activate the Python environment, run the following commands:

python -m venv <ENV_NAME>
source <ENV_NAME>/bin/activate

Then, from within the virtual environment, the required packages can be installed with the following command:

pip install -r requirements.txt

Interface with board

To enable the communication between the GUI and a board, one must provide a Python file with the following specifications:

  • startSeq: sequence of commands to start the board, expressed as a list of bytes;
  • stopSeq: sequence of commands to stop the board, expressed as a list of bytes;
  • SigsPacket: named tuple containing one field for each signal to read from the board;
  • decodeFn: function that decodes each packet of byte read from the board into the specified signals.

Some examples of interface files are provided in the interfaces folder.

Execution

Run the script main.py, which launches the main window.

Authors

License

All files are released under the Apache-2.0 license (see LICENSE).

About

Modular PySide6 GUI for acquiring and visualizing bio-signals from different sources

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages