jnj256 / PhysComp

Tool for physiological computing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhysComp

This repo is intended to serve as a basic tool for physiological computing. Currently, it supports acquiring blood volume pulse or photoplethysmography signal using PulseSensor (https://pulsesensor.com/) connected to PC via Arduino.

Installation

Unzip the package

cd to the directory where requirements.txt is located.

activate your virtual environment

In your shell/ terminal, execute following:

pip install -r requirements.txt

Note: If you face the following error: TypeError: 'PySide6.QtWidgets.QGraphicsScene.addWidget' called with wrong argument types: PySide6.QtWidgets.QGraphicsScene.addWidget(LivePlotFigCanvas) Supported signatures: PySide6.QtWidgets.QGraphicsScene.addWidget(PySide6.QtWidgets.QWidget, PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

Uninstall and install matplotlib package as below:

    pip uninstall matplotlib
    pip install matplotlib

Terminal command to execute the program

python main.py

This shall open a UI as below:

Landing screen for UI Interface

Hardware Setup

PPG

The setup for PPG is as shown below:

Hardware setyp for acquiring PPG signal

About

Tool for physiological computing

License:MIT License


Languages

Language:Python 94.0%Language:C++ 6.0%