Modular PySide6 GUI for acquiring and visualizing bio-signals from different sources.
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
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.
Run the script main.py
, which launches the main window.
All files are released under the Apache-2.0 license (see LICENSE
).