bec-widgets 0.53.3__py3-none-any.whl → 0.55.0__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 (72) hide show
  1. CHANGELOG.md +24 -26
  2. PKG-INFO +1 -1
  3. bec_widgets/cli/client.py +265 -13
  4. bec_widgets/cli/client_utils.py +0 -3
  5. bec_widgets/cli/generate_cli.py +10 -5
  6. bec_widgets/cli/rpc_wigdet_handler.py +2 -1
  7. bec_widgets/cli/server.py +5 -7
  8. bec_widgets/examples/jupyter_console/jupyter_console_window.py +11 -5
  9. bec_widgets/examples/motor_movement/motor_control_compilations.py +17 -16
  10. bec_widgets/widgets/__init__.py +1 -10
  11. bec_widgets/widgets/figure/figure.py +40 -23
  12. bec_widgets/widgets/figure/plots/__init__.py +0 -0
  13. bec_widgets/widgets/figure/plots/image/__init__.py +0 -0
  14. bec_widgets/widgets/{plots → figure/plots/image}/image.py +6 -416
  15. bec_widgets/widgets/figure/plots/image/image_item.py +277 -0
  16. bec_widgets/widgets/figure/plots/image/image_processor.py +152 -0
  17. bec_widgets/widgets/figure/plots/motor_map/__init__.py +0 -0
  18. bec_widgets/widgets/{plots → figure/plots/motor_map}/motor_map.py +2 -2
  19. bec_widgets/widgets/figure/plots/waveform/__init__.py +0 -0
  20. bec_widgets/widgets/{plots → figure/plots/waveform}/waveform.py +9 -222
  21. bec_widgets/widgets/figure/plots/waveform/waveform_curve.py +227 -0
  22. bec_widgets/widgets/motor_control/__init__.py +0 -7
  23. bec_widgets/widgets/motor_control/motor_control.py +2 -948
  24. bec_widgets/widgets/motor_control/motor_table/__init__.py +0 -0
  25. bec_widgets/widgets/motor_control/motor_table/motor_table.py +483 -0
  26. bec_widgets/widgets/motor_control/movement_absolute/__init__.py +0 -0
  27. bec_widgets/widgets/motor_control/movement_absolute/movement_absolute.py +157 -0
  28. bec_widgets/widgets/motor_control/movement_relative/__init__.py +0 -0
  29. bec_widgets/widgets/motor_control/movement_relative/movement_relative.py +227 -0
  30. bec_widgets/widgets/motor_control/selection/__init__.py +0 -0
  31. bec_widgets/widgets/motor_control/selection/selection.py +110 -0
  32. bec_widgets/widgets/spiral_progress_bar/__init__.py +1 -0
  33. bec_widgets/widgets/spiral_progress_bar/ring.py +184 -0
  34. bec_widgets/widgets/spiral_progress_bar/spiral_progress_bar.py +594 -0
  35. {bec_widgets-0.53.3.dist-info → bec_widgets-0.55.0.dist-info}/METADATA +1 -1
  36. {bec_widgets-0.53.3.dist-info → bec_widgets-0.55.0.dist-info}/RECORD +56 -53
  37. docs/requirements.txt +1 -0
  38. pyproject.toml +1 -1
  39. tests/end-2-end/test_bec_dock_rpc_e2e.py +82 -1
  40. tests/end-2-end/test_bec_figure_rpc_e2e.py +4 -4
  41. tests/end-2-end/test_rpc_register_e2e.py +1 -1
  42. tests/unit_tests/test_bec_dock.py +1 -1
  43. tests/unit_tests/test_bec_figure.py +6 -4
  44. tests/unit_tests/test_bec_motor_map.py +2 -3
  45. tests/unit_tests/test_motor_control.py +6 -5
  46. tests/unit_tests/test_spiral_progress_bar.py +338 -0
  47. tests/unit_tests/test_waveform1d.py +13 -1
  48. bec_widgets/validation/__init__.py +0 -2
  49. bec_widgets/validation/monitor_config_validator.py +0 -258
  50. bec_widgets/widgets/monitor/__init__.py +0 -1
  51. bec_widgets/widgets/monitor/config_dialog.py +0 -574
  52. bec_widgets/widgets/monitor/config_dialog.ui +0 -210
  53. bec_widgets/widgets/monitor/example_configs/config_device.yaml +0 -60
  54. bec_widgets/widgets/monitor/example_configs/config_scans.yaml +0 -92
  55. bec_widgets/widgets/monitor/monitor.py +0 -845
  56. bec_widgets/widgets/monitor/tab_template.ui +0 -180
  57. bec_widgets/widgets/motor_map/__init__.py +0 -1
  58. bec_widgets/widgets/motor_map/motor_map.py +0 -594
  59. bec_widgets/widgets/plots/__init__.py +0 -4
  60. tests/unit_tests/test_bec_monitor.py +0 -220
  61. tests/unit_tests/test_config_dialog.py +0 -178
  62. tests/unit_tests/test_motor_map.py +0 -171
  63. tests/unit_tests/test_validator_errors.py +0 -110
  64. /bec_widgets/{cli → assets}/bec_widgets_icon.png +0 -0
  65. /bec_widgets/{examples/jupyter_console → assets}/terminal_icon.png +0 -0
  66. /bec_widgets/widgets/{plots → figure/plots}/plot_base.py +0 -0
  67. /bec_widgets/widgets/motor_control/{motor_control_table.ui → motor_table/motor_table.ui} +0 -0
  68. /bec_widgets/widgets/motor_control/{motor_control_absolute.ui → movement_absolute/movement_absolute.ui} +0 -0
  69. /bec_widgets/widgets/motor_control/{motor_control_relative.ui → movement_relative/movement_relative.ui} +0 -0
  70. /bec_widgets/widgets/motor_control/{motor_control_selection.ui → selection/selection.ui} +0 -0
  71. {bec_widgets-0.53.3.dist-info → bec_widgets-0.55.0.dist-info}/WHEEL +0 -0
  72. {bec_widgets-0.53.3.dist-info → bec_widgets-0.55.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,210 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <ui version="4.0">
3
- <class>Form</class>
4
- <widget class="QWidget" name="Form">
5
- <property name="geometry">
6
- <rect>
7
- <x>0</x>
8
- <y>0</y>
9
- <width>597</width>
10
- <height>769</height>
11
- </rect>
12
- </property>
13
- <property name="windowTitle">
14
- <string>Plot Configuration</string>
15
- </property>
16
- <layout class="QVBoxLayout" name="verticalLayout_2">
17
- <item>
18
- <layout class="QHBoxLayout" name="horizontalLayout">
19
- <item>
20
- <widget class="QGroupBox" name="groupBox_plot_setting">
21
- <property name="title">
22
- <string>Plot Layout Settings</string>
23
- </property>
24
- <layout class="QHBoxLayout" name="horizontalLayout_2">
25
- <item>
26
- <layout class="QGridLayout" name="gridLayout">
27
- <item row="0" column="0">
28
- <widget class="QLabel" name="label_5">
29
- <property name="text">
30
- <string>Number of Columns</string>
31
- </property>
32
- </widget>
33
- </item>
34
- <item row="1" column="0">
35
- <widget class="QLabel" name="label_6">
36
- <property name="text">
37
- <string>Scan Types</string>
38
- </property>
39
- </widget>
40
- </item>
41
- <item row="3" column="0">
42
- <widget class="QPushButton" name="pushButton_new_scan_type">
43
- <property name="text">
44
- <string>New Scan Type</string>
45
- </property>
46
- </widget>
47
- </item>
48
- <item row="1" column="1">
49
- <widget class="QComboBox" name="comboBox_scanTypes">
50
- <item>
51
- <property name="text">
52
- <string>Disabled</string>
53
- </property>
54
- </item>
55
- <item>
56
- <property name="text">
57
- <string>Enabled</string>
58
- </property>
59
- </item>
60
- </widget>
61
- </item>
62
- <item row="0" column="1">
63
- <widget class="QSpinBox" name="spinBox_n_column">
64
- <property name="minimum">
65
- <number>1</number>
66
- </property>
67
- </widget>
68
- </item>
69
- <item row="3" column="1">
70
- <widget class="QLineEdit" name="lineEdit_scan_type"/>
71
- </item>
72
- </layout>
73
- </item>
74
- <item>
75
- <widget class="Line" name="line">
76
- <property name="orientation">
77
- <enum>Qt::Vertical</enum>
78
- </property>
79
- </widget>
80
- </item>
81
- <item>
82
- <layout class="QVBoxLayout" name="verticalLayout_3">
83
- <item>
84
- <widget class="QLabel" name="label_4">
85
- <property name="text">
86
- <string>Appearance</string>
87
- </property>
88
- </widget>
89
- </item>
90
- <item>
91
- <widget class="QComboBox" name="comboBox_appearance">
92
- <property name="enabled">
93
- <bool>false</bool>
94
- </property>
95
- <item>
96
- <property name="text">
97
- <string>black</string>
98
- </property>
99
- </item>
100
- <item>
101
- <property name="text">
102
- <string>white</string>
103
- </property>
104
- </item>
105
- </widget>
106
- </item>
107
- <item>
108
- <widget class="QLabel" name="label_3">
109
- <property name="text">
110
- <string>Default Color Palette</string>
111
- </property>
112
- </widget>
113
- </item>
114
- <item>
115
- <widget class="QComboBox" name="comboBox_colormap">
116
- <item>
117
- <property name="text">
118
- <string>magma</string>
119
- </property>
120
- </item>
121
- <item>
122
- <property name="text">
123
- <string>plasma</string>
124
- </property>
125
- </item>
126
- <item>
127
- <property name="text">
128
- <string>viridis</string>
129
- </property>
130
- </item>
131
- <item>
132
- <property name="text">
133
- <string>reds</string>
134
- </property>
135
- </item>
136
- </widget>
137
- </item>
138
- </layout>
139
- </item>
140
- </layout>
141
- </widget>
142
- </item>
143
- <item>
144
- <widget class="QGroupBox" name="groupBox_config">
145
- <property name="title">
146
- <string>Configuration</string>
147
- </property>
148
- <layout class="QVBoxLayout" name="verticalLayout">
149
- <item>
150
- <widget class="QPushButton" name="pushButton_import">
151
- <property name="text">
152
- <string>Import</string>
153
- </property>
154
- </widget>
155
- </item>
156
- <item>
157
- <widget class="QPushButton" name="pushButton_export">
158
- <property name="text">
159
- <string>Export</string>
160
- </property>
161
- </widget>
162
- </item>
163
- </layout>
164
- </widget>
165
- </item>
166
- </layout>
167
- </item>
168
- <item>
169
- <widget class="QTabWidget" name="tabWidget_scan_types">
170
- <property name="tabPosition">
171
- <enum>QTabWidget::West</enum>
172
- </property>
173
- <property name="tabShape">
174
- <enum>QTabWidget::Rounded</enum>
175
- </property>
176
- <property name="currentIndex">
177
- <number>-1</number>
178
- </property>
179
- </widget>
180
- </item>
181
- <item>
182
- <layout class="QHBoxLayout" name="confirm_layout">
183
- <item>
184
- <widget class="QPushButton" name="pushButton_cancel">
185
- <property name="text">
186
- <string>Cancel</string>
187
- </property>
188
- </widget>
189
- </item>
190
- <item>
191
- <widget class="QPushButton" name="pushButton_apply">
192
- <property name="text">
193
- <string>Apply</string>
194
- </property>
195
- </widget>
196
- </item>
197
- <item>
198
- <widget class="QPushButton" name="pushButton_ok">
199
- <property name="text">
200
- <string>OK</string>
201
- </property>
202
- </widget>
203
- </item>
204
- </layout>
205
- </item>
206
- </layout>
207
- </widget>
208
- <resources/>
209
- <connections/>
210
- </ui>
@@ -1,60 +0,0 @@
1
- plot_settings:
2
- background_color: "black"
3
- num_columns: 2
4
- colormap: "viridis"
5
- scan_types: False
6
-
7
- plot_data:
8
- - plot_name: "BPM4i plots vs samy"
9
- x:
10
- label: 'Motor Y'
11
- signals:
12
- - name: "samy"
13
- entry: "samy"
14
- y:
15
- label: 'bpm4i'
16
- signals:
17
- - name: "bpm4i"
18
- entry: "bpm4i"
19
-
20
- - plot_name: "BPM4i plots vs samx"
21
- x:
22
- label: 'Motor X'
23
- signals:
24
- - name: "samx"
25
- entry: "samx"
26
- y:
27
- label: 'bpm6b'
28
- signals:
29
- - name: "bpm6b"
30
- entry: "bpm6b"
31
- - name: "samy"
32
- entry: "samy"
33
-
34
- - plot_name: "Multiple Gaussian"
35
- x:
36
- label: 'Motor X'
37
- signals:
38
- - name: "samx"
39
- entry: "samx"
40
- y:
41
- label: 'Gauss ADC'
42
- signals:
43
- - name: "gauss_adc1"
44
- entry: "gauss_adc1"
45
- - name: "gauss_adc2"
46
- entry: "gauss_adc2"
47
- - name: "gauss_adc3"
48
- entry: "gauss_adc3"
49
-
50
- - plot_name: "Linear Signals"
51
- x:
52
- label: 'Motor X'
53
- signals:
54
- - name: "samy"
55
- entry: "samy"
56
- y:
57
- label: 'Motor Y'
58
- signals:
59
- - name: "samy"
60
- entry: "samy"
@@ -1,92 +0,0 @@
1
- plot_settings:
2
- background_color: "black"
3
- num_columns: 2
4
- colormap: "plasma"
5
- scan_types: True
6
-
7
- plot_data:
8
- line_scan:
9
-
10
- - plot_name: "BPM plot"
11
- x:
12
- label: 'Motor X'
13
- signals:
14
- - name: "samx"
15
- entry: "samx"
16
- y:
17
- label: 'BPM'
18
- signals:
19
- - name: "gauss_bpm"
20
- entry: "gauss_bpm"
21
- - name: "gauss_adc1"
22
- entry: "gauss_adc1"
23
- - name: "gauss_adc2"
24
- entry: "gauss_adc2"
25
-
26
- - plot_name: "Multi"
27
- x:
28
- label: 'Motor X'
29
- signals:
30
- - name: "samx"
31
- entry: "samx"
32
- y:
33
- label: 'Multi'
34
- signals:
35
- - name: "gauss_bpm"
36
- entry: "gauss_bpm"
37
- - name: "samx"
38
- entry: "samx"
39
-
40
- grid_scan:
41
- - plot_name: "Grid plot 1"
42
- x:
43
- label: 'Motor X'
44
- signals:
45
- - name: "samx"
46
- entry: "samx"
47
- y:
48
- label: 'BPM'
49
- signals:
50
- - name: "gauss_bpm"
51
- entry: "gauss_bpm"
52
- - name: "gauss_adc1"
53
- entry: "gauss_adc1"
54
-
55
- - plot_name: "Grid plot 2"
56
- x:
57
- label: 'Motor X'
58
- signals:
59
- - name: "samx"
60
- entry: "samx"
61
- y:
62
- label: 'BPM'
63
- signals:
64
- - name: "gauss_bpm"
65
- entry: "gauss_bpm"
66
- - name: "gauss_adc1"
67
- entry: "gauss_adc1"
68
-
69
- - plot_name: "Grid plot 3"
70
- x:
71
- label: 'Motor Y'
72
- signals:
73
- - name: "samy"
74
- entry: "samy"
75
- y:
76
- label: 'BPM'
77
- signals:
78
- - name: "gauss_bpm"
79
- entry: "gauss_bpm"
80
-
81
- - plot_name: "Grid plot 4"
82
- x:
83
- label: 'Motor Y'
84
- signals:
85
- - name: "samy"
86
- entry: "samy"
87
- y:
88
- label: 'BPM'
89
- signals:
90
- - name: "gauss_adc3"
91
- entry: "gauss_adc3"
92
-