biosignal-device-interface 0.2.1a1__py3-none-any.whl → 0.2.2__py3-none-any.whl
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/constants/devices/__init__.py +3 -3
- biosignal_device_interface/constants/devices/core/base_device_constants.py +61 -61
- biosignal_device_interface/constants/devices/otb/otb_muovi_constants.py +129 -129
- biosignal_device_interface/constants/devices/otb/otb_quattrocento_constants.py +313 -313
- biosignal_device_interface/constants/devices/otb/otb_quattrocento_light_constants.py +59 -59
- biosignal_device_interface/constants/devices/otb/otb_syncstation_constants.py +233 -233
- biosignal_device_interface/constants/plots/color_palette.py +59 -59
- biosignal_device_interface/devices/__init__.py +17 -17
- biosignal_device_interface/devices/core/base_device.py +424 -412
- biosignal_device_interface/devices/otb/__init__.py +29 -29
- biosignal_device_interface/devices/otb/otb_muovi.py +290 -290
- biosignal_device_interface/devices/otb/otb_quattrocento.py +332 -332
- biosignal_device_interface/devices/otb/otb_quattrocento_light.py +210 -210
- biosignal_device_interface/devices/otb/otb_syncstation.py +407 -407
- biosignal_device_interface/gui/device_template_widgets/all_devices_widget.py +51 -51
- biosignal_device_interface/gui/device_template_widgets/core/base_device_widget.py +130 -130
- biosignal_device_interface/gui/device_template_widgets/core/base_multiple_devices_widget.py +108 -108
- biosignal_device_interface/gui/device_template_widgets/otb/otb_devices_widget.py +44 -44
- biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_plus_widget.py +158 -158
- biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_widget.py +158 -158
- biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_light_widget.py +174 -174
- biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_widget.py +260 -260
- biosignal_device_interface/gui/device_template_widgets/otb/otb_syncstation_widget.py +262 -262
- biosignal_device_interface/gui/plot_widgets/biosignal_plot_widget.py +500 -501
- biosignal_device_interface/gui/ui/devices_template_widget.ui +38 -38
- biosignal_device_interface/gui/ui/otb_muovi_plus_template_widget.ui +171 -171
- biosignal_device_interface/gui/ui/otb_muovi_template_widget.ui +171 -171
- biosignal_device_interface/gui/ui/otb_quattrocento_light_template_widget.ui +266 -266
- biosignal_device_interface/gui/ui/otb_quattrocento_template_widget.ui +415 -415
- biosignal_device_interface/gui/ui/otb_syncstation_template_widget.ui +732 -732
- biosignal_device_interface/gui/ui_compiled/devices_template_widget.py +56 -56
- biosignal_device_interface/gui/ui_compiled/otb_muovi_plus_template_widget.py +153 -153
- biosignal_device_interface/gui/ui_compiled/otb_muovi_template_widget.py +153 -153
- biosignal_device_interface/gui/ui_compiled/otb_quattrocento_light_template_widget.py +217 -217
- biosignal_device_interface/gui/ui_compiled/otb_quattrocento_template_widget.py +318 -318
- biosignal_device_interface/gui/ui_compiled/otb_syncstation_template_widget.py +495 -495
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/METADATA +3 -2
- biosignal_device_interface-0.2.2.dist-info/RECORD +46 -0
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/WHEEL +1 -1
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info/licenses}/LICENSE +675 -675
- biosignal_device_interface-0.2.1a1.dist-info/RECORD +0 -46
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import numpy as np
|
|
2
|
-
|
|
3
|
-
COLOR_PALETTE_DARK = [
|
|
4
|
-
"#EF9A9A",
|
|
5
|
-
"#F48FB1",
|
|
6
|
-
"#CE93D8",
|
|
7
|
-
"#B39DDB",
|
|
8
|
-
"#9FA8DA",
|
|
9
|
-
"#90CAF9",
|
|
10
|
-
"#81D4FA",
|
|
11
|
-
"#80DEEA",
|
|
12
|
-
"#80CBC4",
|
|
13
|
-
"#A5D6A7",
|
|
14
|
-
"#C5E1A5",
|
|
15
|
-
"#E6EE9C",
|
|
16
|
-
"#FFF59D",
|
|
17
|
-
"#FFE082",
|
|
18
|
-
"#FFCC80",
|
|
19
|
-
"#FFAB91",
|
|
20
|
-
"#BCAAA4",
|
|
21
|
-
"#EEEEEE",
|
|
22
|
-
"#B0BEC5",
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
COLOR_PALETTE_LIGHT = [
|
|
26
|
-
"#F44336",
|
|
27
|
-
"#E91E63",
|
|
28
|
-
"#9C27B0",
|
|
29
|
-
"#673AB7",
|
|
30
|
-
"#3F51B5",
|
|
31
|
-
"#2196F3",
|
|
32
|
-
"#03A9F4",
|
|
33
|
-
"#00BCD4",
|
|
34
|
-
"#009688",
|
|
35
|
-
"#4CAF50",
|
|
36
|
-
"#8BC34A",
|
|
37
|
-
"#CDDC39",
|
|
38
|
-
"#FFEB3B",
|
|
39
|
-
"#FFC107",
|
|
40
|
-
"#FF9800",
|
|
41
|
-
"#FF5722",
|
|
42
|
-
"#795548",
|
|
43
|
-
"#9E9E9E",
|
|
44
|
-
"#607D8B",
|
|
45
|
-
]
|
|
46
|
-
|
|
47
|
-
COLOR_PALETTE_RGB_DARK = np.array(
|
|
48
|
-
[
|
|
49
|
-
tuple(int(hex_color[i : i + 2], 16) for i in (1, 3, 5))
|
|
50
|
-
for hex_color in COLOR_PALETTE_DARK
|
|
51
|
-
]
|
|
52
|
-
).astype(np.float32)
|
|
53
|
-
|
|
54
|
-
COLOR_PALETTE_RGB_LIGHT = np.array(
|
|
55
|
-
[
|
|
56
|
-
tuple(int(hex_color[i : i + 2], 16) for i in (1, 3, 5))
|
|
57
|
-
for hex_color in COLOR_PALETTE_LIGHT
|
|
58
|
-
]
|
|
59
|
-
).astype(np.float32)
|
|
1
|
+
import numpy as np
|
|
2
|
+
|
|
3
|
+
COLOR_PALETTE_DARK = [
|
|
4
|
+
"#EF9A9A",
|
|
5
|
+
"#F48FB1",
|
|
6
|
+
"#CE93D8",
|
|
7
|
+
"#B39DDB",
|
|
8
|
+
"#9FA8DA",
|
|
9
|
+
"#90CAF9",
|
|
10
|
+
"#81D4FA",
|
|
11
|
+
"#80DEEA",
|
|
12
|
+
"#80CBC4",
|
|
13
|
+
"#A5D6A7",
|
|
14
|
+
"#C5E1A5",
|
|
15
|
+
"#E6EE9C",
|
|
16
|
+
"#FFF59D",
|
|
17
|
+
"#FFE082",
|
|
18
|
+
"#FFCC80",
|
|
19
|
+
"#FFAB91",
|
|
20
|
+
"#BCAAA4",
|
|
21
|
+
"#EEEEEE",
|
|
22
|
+
"#B0BEC5",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
COLOR_PALETTE_LIGHT = [
|
|
26
|
+
"#F44336",
|
|
27
|
+
"#E91E63",
|
|
28
|
+
"#9C27B0",
|
|
29
|
+
"#673AB7",
|
|
30
|
+
"#3F51B5",
|
|
31
|
+
"#2196F3",
|
|
32
|
+
"#03A9F4",
|
|
33
|
+
"#00BCD4",
|
|
34
|
+
"#009688",
|
|
35
|
+
"#4CAF50",
|
|
36
|
+
"#8BC34A",
|
|
37
|
+
"#CDDC39",
|
|
38
|
+
"#FFEB3B",
|
|
39
|
+
"#FFC107",
|
|
40
|
+
"#FF9800",
|
|
41
|
+
"#FF5722",
|
|
42
|
+
"#795548",
|
|
43
|
+
"#9E9E9E",
|
|
44
|
+
"#607D8B",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
COLOR_PALETTE_RGB_DARK = np.array(
|
|
48
|
+
[
|
|
49
|
+
tuple(int(hex_color[i : i + 2], 16) for i in (1, 3, 5))
|
|
50
|
+
for hex_color in COLOR_PALETTE_DARK
|
|
51
|
+
]
|
|
52
|
+
).astype(np.float32)
|
|
53
|
+
|
|
54
|
+
COLOR_PALETTE_RGB_LIGHT = np.array(
|
|
55
|
+
[
|
|
56
|
+
tuple(int(hex_color[i : i + 2], 16) for i in (1, 3, 5))
|
|
57
|
+
for hex_color in COLOR_PALETTE_LIGHT
|
|
58
|
+
]
|
|
59
|
+
).astype(np.float32)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# Import Devices to be used from biosignal_device_interface.devices
|
|
2
|
-
# import Muovi, MindRoveBracelet, Quattrocento, QuattrocentoLight, ...
|
|
3
|
-
|
|
4
|
-
from biosignal_device_interface.devices.otb import (
|
|
5
|
-
OTBMuoviWidget,
|
|
6
|
-
OTBMuoviPlusWidget,
|
|
7
|
-
OTBQuattrocentoLightWidget,
|
|
8
|
-
OTBMuovi,
|
|
9
|
-
OTBQuattrocento,
|
|
10
|
-
OTBQuattrocentoLight,
|
|
11
|
-
OTBSyncStationWidget,
|
|
12
|
-
OTBDevicesWidget,
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
from biosignal_device_interface.gui.device_template_widgets.all_devices_widget import (
|
|
16
|
-
AllDevicesWidget,
|
|
17
|
-
)
|
|
1
|
+
# Import Devices to be used from biosignal_device_interface.devices
|
|
2
|
+
# import Muovi, MindRoveBracelet, Quattrocento, QuattrocentoLight, ...
|
|
3
|
+
|
|
4
|
+
from biosignal_device_interface.devices.otb import (
|
|
5
|
+
OTBMuoviWidget,
|
|
6
|
+
OTBMuoviPlusWidget,
|
|
7
|
+
OTBQuattrocentoLightWidget,
|
|
8
|
+
OTBMuovi,
|
|
9
|
+
OTBQuattrocento,
|
|
10
|
+
OTBQuattrocentoLight,
|
|
11
|
+
OTBSyncStationWidget,
|
|
12
|
+
OTBDevicesWidget,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
from biosignal_device_interface.gui.device_template_widgets.all_devices_widget import (
|
|
16
|
+
AllDevicesWidget,
|
|
17
|
+
)
|