biosignal-device-interface 0.2.3__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biosignal_device_interface-0.2.5/.github/workflows/publish_pypi.yml +29 -0
- biosignal_device_interface-0.2.5/.github/workflows/sphinx.yml +38 -0
- biosignal_device_interface-0.2.5/.gitignore +165 -0
- biosignal_device_interface-0.2.5/PKG-INFO +130 -0
- biosignal_device_interface-0.2.5/README.md +112 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/core/base_device_constants.py +4 -0
- biosignal_device_interface-0.2.5/biosignal_device_interface/constants/devices/otb/otb_sessantaquattro_constants.py +227 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/__init__.py +2 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/otb/__init__.py +6 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/otb/otb_muovi.py +1 -0
- biosignal_device_interface-0.2.5/biosignal_device_interface/devices/otb/otb_sessantaquattro.py +363 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/all_devices_widget.py +4 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_devices_widget.py +4 -0
- biosignal_device_interface-0.2.5/biosignal_device_interface/gui/device_template_widgets/otb/otb_sessantaquattro_widget.py +265 -0
- biosignal_device_interface-0.2.5/biosignal_device_interface/gui/ui/otb_sessantaquattro_template_widget.ui +317 -0
- biosignal_device_interface-0.2.5/biosignal_device_interface/gui/ui_compiled/otb_sessantaquattro_template_widget.py +241 -0
- biosignal_device_interface-0.2.5/docs/Makefile +20 -0
- biosignal_device_interface-0.2.5/docs/make.bat +35 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5/docs/source}/README.md +14 -3
- biosignal_device_interface-0.2.5/docs/source/api_documentation.rst +44 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/1_integrating_a_device.ipynb +43 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/1_integrating_a_device.py +72 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/1_integrating_a_device.py.md5 +1 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/1_integrating_a_device.rst +119 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/1_integrating_a_device_codeobj.pickle +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/2_integrating_multiple_devices.ipynb +43 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/2_integrating_multiple_devices.py +72 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/2_integrating_multiple_devices.rst +119 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/2_integrating_multiple_devices_codeobj.pickle +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/3_integrating_device_interface_and_biosignal_plot.ipynb +43 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/3_integrating_device_interface_and_biosignal_plot.py +85 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/3_integrating_device_interface_and_biosignal_plot.rst +132 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/3_integrating_device_interface_and_biosignal_plot_codeobj.pickle +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/4_implementing_new_device.ipynb +143 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/4_implementing_new_device.py +275 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/4_implementing_new_device.rst +345 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/4_implementing_new_device_codeobj.pickle +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/auto_examples_jupyter.zip +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/auto_examples_python.zip +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/images/thumb/sphx_glr_1_integrating_a_device_thumb.png +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/images/thumb/sphx_glr_2_integrating_multiple_devices_thumb.png +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/images/thumb/sphx_glr_3_integrating_device_interface_and_biosignal_plot_thumb.png +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/images/thumb/sphx_glr_4_implementing_new_device_thumb.png +0 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/index.rst +117 -0
- biosignal_device_interface-0.2.5/docs/source/auto_examples/sg_execution_times.rst +46 -0
- biosignal_device_interface-0.2.5/docs/source/conf.py +96 -0
- biosignal_device_interface-0.2.5/docs/source/index.rst +15 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/all_devices_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/core/base_device_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/core/base_multiple_device_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/device_widgets.rst +30 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/otb/device/otb_muovi_plus_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/otb/device/otb_muovi_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/otb/device/otb_quattrocento_light_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/device_widgets/otb/otb_devices_widget.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/core/base_device.rst +8 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/core/code/constants/base_device_constants.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/core/code/device/code_base_device.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/code/constants/otb_constants.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/code/constants/otb_muovi_constants.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/code/constants/otb_quattrocento_light_constants.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/code/device/code_otb_muovi.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/code/device/code_otb_quattrocento_light.rst +7 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/otb.rst +9 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/otb_muovi.rst +8 -0
- biosignal_device_interface-0.2.5/docs/source/modules/devices/otb/otb_quattrocento_light.rst +8 -0
- biosignal_device_interface-0.2.5/docs/source/sg_execution_times.rst +46 -0
- biosignal_device_interface-0.2.5/examples/1_integrating_a_device.py +74 -0
- biosignal_device_interface-0.2.5/examples/2_integrating_multiple_devices.py +72 -0
- biosignal_device_interface-0.2.5/examples/3_integrating_device_interface_and_biosignal_plot.py +86 -0
- biosignal_device_interface-0.2.5/examples/4_implementing_new_device.py +275 -0
- biosignal_device_interface-0.2.5/examples/README.rst +5 -0
- biosignal_device_interface-0.2.5/pyproject.toml +38 -0
- biosignal_device_interface-0.2.5/tests/test_imports.py +113 -0
- biosignal_device_interface-0.2.5/uv.lock +2298 -0
- biosignal_device_interface-0.2.3/PKG-INFO +0 -129
- biosignal_device_interface-0.2.3/pyproject.toml +0 -41
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/LICENSE +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/otb/otb_constants.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/otb/otb_muovi_constants.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/otb/otb_quattrocento_constants.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/otb/otb_quattrocento_light_constants.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/devices/otb/otb_syncstation_constants.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/constants/plots/color_palette.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/core/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/core/base_device.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/otb/otb_quattrocento.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/otb/otb_quattrocento_light.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/devices/otb/otb_syncstation.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/core/base_device_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/core/base_multiple_devices_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/__init__.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_plus_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_light_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/device_template_widgets/otb/otb_syncstation_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/plot_widgets/biosignal_plot_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/devices_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/otb_muovi_plus_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/otb_muovi_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/otb_quattrocento_light_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/otb_quattrocento_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui/otb_syncstation_template_widget.ui +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/devices_template_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/otb_muovi_plus_template_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/otb_muovi_template_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/otb_quattrocento_light_template_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/otb_quattrocento_template_widget.py +0 -0
- {biosignal_device_interface-0.2.3 → biosignal_device_interface-0.2.5}/biosignal_device_interface/gui/ui_compiled/otb_syncstation_template_widget.py +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main # Only trigger on the main branch
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
deploy:
|
|
10
|
+
name: Build and Publish
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout repository
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v4
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.x"
|
|
21
|
+
|
|
22
|
+
- name: Install Poetry
|
|
23
|
+
run: pip install poetry
|
|
24
|
+
|
|
25
|
+
- name: Authenticate PyPI
|
|
26
|
+
run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
|
|
27
|
+
|
|
28
|
+
- name: Publish to PyPI
|
|
29
|
+
run: poetry publish --build --no-interaction
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: publish-docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
deploy-docs:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Set up Python 3.10
|
|
15
|
+
uses: actions/setup-python@v4
|
|
16
|
+
with:
|
|
17
|
+
python-version: 3.10.14
|
|
18
|
+
|
|
19
|
+
- name: Install uv
|
|
20
|
+
uses: astral-sh/setup-uv@v5
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
sudo apt-get update
|
|
25
|
+
sudo apt-get install -y libegl1 libgl1
|
|
26
|
+
uv sync --group docs
|
|
27
|
+
|
|
28
|
+
- name: Build the docs
|
|
29
|
+
run: |
|
|
30
|
+
cd docs
|
|
31
|
+
uv run make html
|
|
32
|
+
cd ..
|
|
33
|
+
|
|
34
|
+
- name: Deploy
|
|
35
|
+
uses: peaceiris/actions-gh-pages@v3
|
|
36
|
+
with:
|
|
37
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
38
|
+
publish_dir: docs/build/html
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
|
|
104
|
+
# pdm
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
+
#pdm.lock
|
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
+
# in version control.
|
|
109
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
110
|
+
.pdm.toml
|
|
111
|
+
.pdm-python
|
|
112
|
+
.pdm-build/
|
|
113
|
+
|
|
114
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
115
|
+
__pypackages__/
|
|
116
|
+
|
|
117
|
+
# Celery stuff
|
|
118
|
+
celerybeat-schedule
|
|
119
|
+
celerybeat.pid
|
|
120
|
+
|
|
121
|
+
# SageMath parsed files
|
|
122
|
+
*.sage.py
|
|
123
|
+
|
|
124
|
+
# Environments
|
|
125
|
+
.env
|
|
126
|
+
.venv
|
|
127
|
+
env/
|
|
128
|
+
venv/
|
|
129
|
+
ENV/
|
|
130
|
+
env.bak/
|
|
131
|
+
venv.bak/
|
|
132
|
+
|
|
133
|
+
# Spyder project settings
|
|
134
|
+
.spyderproject
|
|
135
|
+
.spyproject
|
|
136
|
+
|
|
137
|
+
# Rope project settings
|
|
138
|
+
.ropeproject
|
|
139
|
+
|
|
140
|
+
# mkdocs documentation
|
|
141
|
+
/site
|
|
142
|
+
|
|
143
|
+
# mypy
|
|
144
|
+
.mypy_cache/
|
|
145
|
+
.dmypy.json
|
|
146
|
+
dmypy.json
|
|
147
|
+
|
|
148
|
+
# Pyre type checker
|
|
149
|
+
.pyre/
|
|
150
|
+
|
|
151
|
+
# pytype static type analyzer
|
|
152
|
+
.pytype/
|
|
153
|
+
|
|
154
|
+
# Cython debug symbols
|
|
155
|
+
cython_debug/
|
|
156
|
+
|
|
157
|
+
# PyCharm
|
|
158
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
159
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
160
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
161
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
162
|
+
.idea/
|
|
163
|
+
|
|
164
|
+
# Visual Studio Code
|
|
165
|
+
.vscode/
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: biosignal-device-interface
|
|
3
|
+
Version: 0.2.5
|
|
4
|
+
Summary: Python communication interface to many biosignal devices manufactured by several companies to easy integration in custom PySide6 applications.
|
|
5
|
+
Author-email: "Dominik I. Braun" <dome.braun@fau.de>, "Raul C. Sîmpetru" <raul.simpetru@fau.de>
|
|
6
|
+
License: GPL-3.0
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Requires-Python: <3.13,>=3.10
|
|
9
|
+
Requires-Dist: aenum>=3.1.15
|
|
10
|
+
Requires-Dist: matplotlib>=3.9.0
|
|
11
|
+
Requires-Dist: numpy>=1.26.4
|
|
12
|
+
Requires-Dist: psutil>=5.9.8
|
|
13
|
+
Requires-Dist: pyside6>=6.7.0
|
|
14
|
+
Requires-Dist: scipy>=1.14.0
|
|
15
|
+
Requires-Dist: tornado>=6.4.2
|
|
16
|
+
Requires-Dist: vispy>=0.14.3
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# Biosignal-Device-Interface
|
|
20
|
+
|
|
21
|
+
<!-- PROJECT LOGO -->
|
|
22
|
+
<br />
|
|
23
|
+
<div align="center">
|
|
24
|
+
<a href="https://github.com/NsquaredLab/Biosignal-Device-Interface">
|
|
25
|
+
<img src="images/logo.png" alt="Logo" width="80" height="80">
|
|
26
|
+
</a>
|
|
27
|
+
|
|
28
|
+
<h3 align="center">Biosignal Device Interface</h3>
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
Python communication interface to many biosignal devices manufactured by several companies for easy integration in custom PySide6 applications.
|
|
32
|
+
<br />
|
|
33
|
+
<a href="https://nsquaredlab.github.io/Biosignal-Device-Interface/"><strong>Explore the docs »</strong></a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
[](https://pypi.org/project/biosignal-device-interface/)
|
|
37
|
+
[](https://pypi.org/project/biosignal-device-interface/)
|
|
38
|
+
[](LICENSE)
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
<!-- TABLE OF CONTENTS -->
|
|
45
|
+
<details>
|
|
46
|
+
<summary>Table of Contents</summary>
|
|
47
|
+
<ol>
|
|
48
|
+
<li><a href="#about-the-project">About The Project</a></li>
|
|
49
|
+
<li><a href="#supported-devices">Supported Devices</a></li>
|
|
50
|
+
<li>
|
|
51
|
+
<a href="#getting-started">Getting Started</a>
|
|
52
|
+
<ul>
|
|
53
|
+
<li><a href="#installation">Installation</a></li>
|
|
54
|
+
<li><a href="#development-installation">Development Installation</a></li>
|
|
55
|
+
</ul>
|
|
56
|
+
</li>
|
|
57
|
+
<li><a href="#usage">Usage</a></li>
|
|
58
|
+
<li><a href="#license">License</a></li>
|
|
59
|
+
<li><a href="#contact">Contact</a></li>
|
|
60
|
+
<li><a href="#acknowledgments">Acknowledgments</a></li>
|
|
61
|
+
</ol>
|
|
62
|
+
</details>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## About The Project
|
|
66
|
+
|
|
67
|
+
Biosignal Device Interface provides a unified Python API for communicating with biosignal acquisition devices from multiple manufacturers. It includes ready-to-use PySide6 widgets for device configuration and data streaming, making it easy to integrate biosignal acquisition into custom applications.
|
|
68
|
+
|
|
69
|
+
## Supported Devices
|
|
70
|
+
|
|
71
|
+
### OT Bioelettronica
|
|
72
|
+
- **Quattrocento** - 400+ channel EMG/EEG amplifier
|
|
73
|
+
- **Quattrocento Light** - Compact version of Quattrocento
|
|
74
|
+
- **Muovi** - Wearable EMG sensor
|
|
75
|
+
- **Muovi+** - Enhanced wearable EMG sensor
|
|
76
|
+
- **SyncStation** - Multi-device synchronization hub (Muovi, Muovi+, Due+)
|
|
77
|
+
|
|
78
|
+
### Other Devices
|
|
79
|
+
- More devices coming soon...
|
|
80
|
+
|
|
81
|
+
<!-- GETTING STARTED -->
|
|
82
|
+
## Getting Started
|
|
83
|
+
|
|
84
|
+
### Installation
|
|
85
|
+
|
|
86
|
+
Install from PyPI:
|
|
87
|
+
```bash
|
|
88
|
+
pip install biosignal-device-interface
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Or with Poetry:
|
|
92
|
+
```bash
|
|
93
|
+
poetry add biosignal-device-interface
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Development Installation
|
|
97
|
+
|
|
98
|
+
Clone the repository and install with development dependencies:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
git clone https://github.com/NsquaredLab/Biosignal-Device-Interface.git
|
|
102
|
+
cd Biosignal-Device-Interface
|
|
103
|
+
poetry install --with dev,docs
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
<!-- USAGE EXAMPLES -->
|
|
107
|
+
## Usage
|
|
108
|
+
|
|
109
|
+
Examples of how you can use this package can be found in our [examples gallery](https://nsquaredlab.github.io/Biosignal-Device-Interface/auto_examples/index.html).
|
|
110
|
+
|
|
111
|
+
<!-- LICENSE -->
|
|
112
|
+
## License
|
|
113
|
+
|
|
114
|
+
Distributed under the GPL-3.0 License. See `LICENSE` for more information.
|
|
115
|
+
|
|
116
|
+
<!-- CONTACT -->
|
|
117
|
+
## Contact
|
|
118
|
+
|
|
119
|
+
- [Dominik I. Braun](https://www.nsquared.tf.fau.de/person/dominik-braun/) - dome.braun@fau.de
|
|
120
|
+
- [Raul C. Sîmpetru](https://www.nsquared.tf.fau.de/person/raul-simpetru/) - raul.simpetru@fau.de
|
|
121
|
+
|
|
122
|
+
Project Link: [https://github.com/NsquaredLab/Biosignal-Device-Interface](https://github.com/NsquaredLab/Biosignal-Device-Interface)
|
|
123
|
+
|
|
124
|
+
<!-- ACKNOWLEDGMENTS -->
|
|
125
|
+
## Acknowledgments
|
|
126
|
+
* Find available Python and Matlab implementations of OT Bioelettronica's devices on their [website](https://otbioelettronica.it/en/download/).
|
|
127
|
+
<br>
|
|
128
|
+
Note: The example scripts do not provide you with the same level of utility for GUI implementations.
|
|
129
|
+
|
|
130
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Biosignal-Device-Interface
|
|
2
|
+
|
|
3
|
+
<!-- PROJECT LOGO -->
|
|
4
|
+
<br />
|
|
5
|
+
<div align="center">
|
|
6
|
+
<a href="https://github.com/NsquaredLab/Biosignal-Device-Interface">
|
|
7
|
+
<img src="images/logo.png" alt="Logo" width="80" height="80">
|
|
8
|
+
</a>
|
|
9
|
+
|
|
10
|
+
<h3 align="center">Biosignal Device Interface</h3>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
Python communication interface to many biosignal devices manufactured by several companies for easy integration in custom PySide6 applications.
|
|
14
|
+
<br />
|
|
15
|
+
<a href="https://nsquaredlab.github.io/Biosignal-Device-Interface/"><strong>Explore the docs »</strong></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
[](https://pypi.org/project/biosignal-device-interface/)
|
|
19
|
+
[](https://pypi.org/project/biosignal-device-interface/)
|
|
20
|
+
[](LICENSE)
|
|
21
|
+
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<!-- TABLE OF CONTENTS -->
|
|
27
|
+
<details>
|
|
28
|
+
<summary>Table of Contents</summary>
|
|
29
|
+
<ol>
|
|
30
|
+
<li><a href="#about-the-project">About The Project</a></li>
|
|
31
|
+
<li><a href="#supported-devices">Supported Devices</a></li>
|
|
32
|
+
<li>
|
|
33
|
+
<a href="#getting-started">Getting Started</a>
|
|
34
|
+
<ul>
|
|
35
|
+
<li><a href="#installation">Installation</a></li>
|
|
36
|
+
<li><a href="#development-installation">Development Installation</a></li>
|
|
37
|
+
</ul>
|
|
38
|
+
</li>
|
|
39
|
+
<li><a href="#usage">Usage</a></li>
|
|
40
|
+
<li><a href="#license">License</a></li>
|
|
41
|
+
<li><a href="#contact">Contact</a></li>
|
|
42
|
+
<li><a href="#acknowledgments">Acknowledgments</a></li>
|
|
43
|
+
</ol>
|
|
44
|
+
</details>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## About The Project
|
|
48
|
+
|
|
49
|
+
Biosignal Device Interface provides a unified Python API for communicating with biosignal acquisition devices from multiple manufacturers. It includes ready-to-use PySide6 widgets for device configuration and data streaming, making it easy to integrate biosignal acquisition into custom applications.
|
|
50
|
+
|
|
51
|
+
## Supported Devices
|
|
52
|
+
|
|
53
|
+
### OT Bioelettronica
|
|
54
|
+
- **Quattrocento** - 400+ channel EMG/EEG amplifier
|
|
55
|
+
- **Quattrocento Light** - Compact version of Quattrocento
|
|
56
|
+
- **Muovi** - Wearable EMG sensor
|
|
57
|
+
- **Muovi+** - Enhanced wearable EMG sensor
|
|
58
|
+
- **SyncStation** - Multi-device synchronization hub (Muovi, Muovi+, Due+)
|
|
59
|
+
|
|
60
|
+
### Other Devices
|
|
61
|
+
- More devices coming soon...
|
|
62
|
+
|
|
63
|
+
<!-- GETTING STARTED -->
|
|
64
|
+
## Getting Started
|
|
65
|
+
|
|
66
|
+
### Installation
|
|
67
|
+
|
|
68
|
+
Install from PyPI:
|
|
69
|
+
```bash
|
|
70
|
+
pip install biosignal-device-interface
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Or with Poetry:
|
|
74
|
+
```bash
|
|
75
|
+
poetry add biosignal-device-interface
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Development Installation
|
|
79
|
+
|
|
80
|
+
Clone the repository and install with development dependencies:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
git clone https://github.com/NsquaredLab/Biosignal-Device-Interface.git
|
|
84
|
+
cd Biosignal-Device-Interface
|
|
85
|
+
poetry install --with dev,docs
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
<!-- USAGE EXAMPLES -->
|
|
89
|
+
## Usage
|
|
90
|
+
|
|
91
|
+
Examples of how you can use this package can be found in our [examples gallery](https://nsquaredlab.github.io/Biosignal-Device-Interface/auto_examples/index.html).
|
|
92
|
+
|
|
93
|
+
<!-- LICENSE -->
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
Distributed under the GPL-3.0 License. See `LICENSE` for more information.
|
|
97
|
+
|
|
98
|
+
<!-- CONTACT -->
|
|
99
|
+
## Contact
|
|
100
|
+
|
|
101
|
+
- [Dominik I. Braun](https://www.nsquared.tf.fau.de/person/dominik-braun/) - dome.braun@fau.de
|
|
102
|
+
- [Raul C. Sîmpetru](https://www.nsquared.tf.fau.de/person/raul-simpetru/) - raul.simpetru@fau.de
|
|
103
|
+
|
|
104
|
+
Project Link: [https://github.com/NsquaredLab/Biosignal-Device-Interface](https://github.com/NsquaredLab/Biosignal-Device-Interface)
|
|
105
|
+
|
|
106
|
+
<!-- ACKNOWLEDGMENTS -->
|
|
107
|
+
## Acknowledgments
|
|
108
|
+
* Find available Python and Matlab implementations of OT Bioelettronica's devices on their [website](https://otbioelettronica.it/en/download/).
|
|
109
|
+
<br>
|
|
110
|
+
Note: The example scripts do not provide you with the same level of utility for GUI implementations.
|
|
111
|
+
|
|
112
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
@@ -21,6 +21,7 @@ class DeviceType(Enum):
|
|
|
21
21
|
OTB_MUOVI = auto(), "OT Bioelettronica Muovi"
|
|
22
22
|
OTB_MUOVI_PLUS = auto(), "OT Bioelettronica Muovi Plus"
|
|
23
23
|
OTB_SYNCSTATION = auto(), "OT Bioelettronica SyncStation"
|
|
24
|
+
OTB_SESSANTAQUATTRO = auto(), "OT Bioelettronica Sessantaquattro"
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class OTBDeviceType(Enum):
|
|
@@ -36,6 +37,7 @@ class OTBDeviceType(Enum):
|
|
|
36
37
|
MUOVI = auto(), "Muovi"
|
|
37
38
|
MUOVI_PLUS = auto(), "Muovi Plus"
|
|
38
39
|
SYNCSTATION = auto(), "SyncStation"
|
|
40
|
+
SESSANTAQUATTRO = auto(), "Sessantaquattro"
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
class DeviceChannelTypes(Enum):
|
|
@@ -58,4 +60,6 @@ DEVICE_NAME_DICT: dict[DeviceType | OTBDeviceType, str] = {
|
|
|
58
60
|
OTBDeviceType.MUOVI_PLUS: "Muovi Plus",
|
|
59
61
|
DeviceType.OTB_SYNCSTATION: "SyncStation",
|
|
60
62
|
OTBDeviceType.SYNCSTATION: "SyncStation",
|
|
63
|
+
DeviceType.OTB_SESSANTAQUATTRO: "Sessantaquattro",
|
|
64
|
+
OTBDeviceType.SESSANTAQUATTRO: "Sessantaquattro",
|
|
61
65
|
}
|