biosignal-device-interface 0.1.311__py3-none-any.whl → 0.2.1__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.
Files changed (42) hide show
  1. biosignal_device_interface/constants/devices/__init__.py +3 -3
  2. biosignal_device_interface/constants/devices/core/base_device_constants.py +61 -51
  3. biosignal_device_interface/constants/devices/otb/otb_muovi_constants.py +129 -129
  4. biosignal_device_interface/constants/devices/otb/otb_quattrocento_constants.py +313 -0
  5. biosignal_device_interface/constants/devices/otb/otb_quattrocento_light_constants.py +59 -59
  6. biosignal_device_interface/constants/devices/otb/otb_syncstation_constants.py +233 -0
  7. biosignal_device_interface/constants/plots/color_palette.py +59 -59
  8. biosignal_device_interface/devices/__init__.py +17 -15
  9. biosignal_device_interface/devices/core/base_device.py +424 -410
  10. biosignal_device_interface/devices/otb/__init__.py +29 -21
  11. biosignal_device_interface/devices/otb/otb_muovi.py +290 -291
  12. biosignal_device_interface/devices/otb/otb_quattrocento.py +332 -0
  13. biosignal_device_interface/devices/otb/otb_quattrocento_light.py +210 -213
  14. biosignal_device_interface/devices/otb/otb_syncstation.py +407 -0
  15. biosignal_device_interface/gui/device_template_widgets/all_devices_widget.py +51 -43
  16. biosignal_device_interface/gui/device_template_widgets/core/base_device_widget.py +130 -121
  17. biosignal_device_interface/gui/device_template_widgets/core/base_multiple_devices_widget.py +108 -108
  18. biosignal_device_interface/gui/device_template_widgets/otb/otb_devices_widget.py +44 -36
  19. biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_plus_widget.py +158 -158
  20. biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_widget.py +158 -158
  21. biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_light_widget.py +174 -170
  22. biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_widget.py +260 -0
  23. biosignal_device_interface/gui/device_template_widgets/otb/otb_syncstation_widget.py +262 -0
  24. biosignal_device_interface/gui/plot_widgets/biosignal_plot_widget.py +500 -500
  25. biosignal_device_interface/gui/ui/devices_template_widget.ui +38 -38
  26. biosignal_device_interface/gui/ui/otb_muovi_plus_template_widget.ui +171 -171
  27. biosignal_device_interface/gui/ui/otb_muovi_template_widget.ui +171 -171
  28. biosignal_device_interface/gui/ui/otb_quattrocento_light_template_widget.ui +266 -266
  29. biosignal_device_interface/gui/ui/otb_quattrocento_template_widget.ui +415 -0
  30. biosignal_device_interface/gui/ui/otb_syncstation_template_widget.ui +732 -0
  31. biosignal_device_interface/gui/ui_compiled/devices_template_widget.py +56 -56
  32. biosignal_device_interface/gui/ui_compiled/otb_muovi_plus_template_widget.py +153 -153
  33. biosignal_device_interface/gui/ui_compiled/otb_muovi_template_widget.py +153 -153
  34. biosignal_device_interface/gui/ui_compiled/otb_quattrocento_light_template_widget.py +217 -217
  35. biosignal_device_interface/gui/ui_compiled/otb_quattrocento_template_widget.py +318 -0
  36. biosignal_device_interface/gui/ui_compiled/otb_syncstation_template_widget.py +495 -0
  37. biosignal_device_interface-0.2.1.dist-info/LICENSE +675 -0
  38. {biosignal_device_interface-0.1.311.dist-info → biosignal_device_interface-0.2.1.dist-info}/METADATA +6 -4
  39. biosignal_device_interface-0.2.1.dist-info/RECORD +46 -0
  40. {biosignal_device_interface-0.1.311.dist-info → biosignal_device_interface-0.2.1.dist-info}/WHEEL +1 -1
  41. biosignal_device_interface-0.1.311.dist-info/LICENSE +0 -395
  42. biosignal_device_interface-0.1.311.dist-info/RECORD +0 -36
@@ -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,15 +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
- OTBQuattrocentoLight,
10
- OTBDevicesWidget,
11
- )
12
-
13
- from biosignal_device_interface.gui.device_template_widgets.all_devices_widget import (
14
- AllDevicesWidget,
15
- )
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
+ )