bec-widgets 1.24.1__py3-none-any.whl → 1.24.3__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.
- CHANGELOG.md +17 -0
- PKG-INFO +1 -1
- bec_widgets/widgets/containers/figure/plots/multi_waveform/multi_waveform.py +0 -13
- bec_widgets/widgets/containers/figure/plots/waveform/waveform.py +10 -4
- {bec_widgets-1.24.1.dist-info → bec_widgets-1.24.3.dist-info}/METADATA +1 -1
- {bec_widgets-1.24.1.dist-info → bec_widgets-1.24.3.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- {bec_widgets-1.24.1.dist-info → bec_widgets-1.24.3.dist-info}/WHEEL +0 -0
- {bec_widgets-1.24.1.dist-info → bec_widgets-1.24.3.dist-info}/entry_points.txt +0 -0
- {bec_widgets-1.24.1.dist-info → bec_widgets-1.24.3.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v1.24.3 (2025-03-05)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- **multi_waveform**: Update on_async_readback to use structured metadata for async updates with
|
9
|
+
"add" instead of "extend"
|
10
|
+
([`fa91366`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/fa91366dcbb383319dc0a0f26400aa93ee445299))
|
11
|
+
|
12
|
+
|
13
|
+
## v1.24.2 (2025-02-27)
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
- **e2e**: Added wait time to flaky e2e
|
18
|
+
([`46b1a22`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/46b1a228be4ef5eb21ecf6c7020a2cd05d06b61a))
|
19
|
+
|
20
|
+
|
4
21
|
## v1.24.1 (2025-02-26)
|
5
22
|
|
6
23
|
### Bug Fixes
|
PKG-INFO
CHANGED
@@ -338,16 +338,3 @@ class BECMultiWaveform(BECPlotBase):
|
|
338
338
|
Export current waveform to matplotlib GUI. Available only if matplotlib is installed in the environment.
|
339
339
|
"""
|
340
340
|
MatplotlibExporter(self.plot_item).export()
|
341
|
-
|
342
|
-
|
343
|
-
if __name__ == "__main__":
|
344
|
-
import sys
|
345
|
-
|
346
|
-
from qtpy.QtWidgets import QApplication
|
347
|
-
|
348
|
-
from bec_widgets.widgets.containers.figure import BECFigure
|
349
|
-
|
350
|
-
app = QApplication(sys.argv)
|
351
|
-
widget = BECFigure()
|
352
|
-
widget.show()
|
353
|
-
sys.exit(app.exec_())
|
@@ -1242,16 +1242,22 @@ class BECWaveform(BECPlotBase):
|
|
1242
1242
|
msg(dict): Message with the async data.
|
1243
1243
|
metadata(dict): Metadata of the message.
|
1244
1244
|
"""
|
1245
|
-
|
1245
|
+
y_data = None
|
1246
|
+
x_data = None
|
1247
|
+
instruction = metadata.get("async_update", {}).get("type")
|
1248
|
+
max_shape = metadata.get("async_update", {}).get("max_shape", [])
|
1246
1249
|
for curve in self._curves_data["async"].values():
|
1247
|
-
y_name = curve.config.signals.y.name
|
1248
1250
|
y_entry = curve.config.signals.y.entry
|
1249
1251
|
x_name = self._x_axis_mode["name"]
|
1250
1252
|
for device, async_data in msg["signals"].items():
|
1251
1253
|
if device == y_entry:
|
1252
1254
|
data_plot = async_data["value"]
|
1253
|
-
if instruction == "
|
1254
|
-
|
1255
|
+
if instruction == "add":
|
1256
|
+
if len(max_shape) > 1:
|
1257
|
+
if len(data_plot.shape) > 1:
|
1258
|
+
data_plot = data_plot[-1, :]
|
1259
|
+
else:
|
1260
|
+
x_data, y_data = curve.get_data()
|
1255
1261
|
if y_data is not None:
|
1256
1262
|
new_data = np.hstack((y_data, data_plot))
|
1257
1263
|
else:
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=PuL-FmkTHm7qs467Mh9D8quWcEj4tgEA-UUGDieMuWk,8774
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=BbShAUJX8YndnzRkD590NEJs7-M6a9q0-U_H6-yg5q8,233007
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=SGDLgLhTapCm7V1UZ0WbVcQK7fe99jsH7b3KpN7gSZ8,1173
|
8
8
|
README.md,sha256=KgdKusjlvEvFtdNZCeDMO91y77MWK2iDcYMDziksOr4,2553
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=2lLj6nxN2QE6gt9fwt-NX7BBpxN0NU2hANDLk9FL-M8,2540
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -109,9 +109,9 @@ bec_widgets/widgets/containers/figure/plots/image/image_processor.py,sha256=GeTt
|
|
109
109
|
bec_widgets/widgets/containers/figure/plots/motor_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
110
110
|
bec_widgets/widgets/containers/figure/plots/motor_map/motor_map.py,sha256=G59EmA6XPp9FMv0AJlBFivMbHLksbg7VPDTJ8_GlC7c,18421
|
111
111
|
bec_widgets/widgets/containers/figure/plots/multi_waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
112
|
-
bec_widgets/widgets/containers/figure/plots/multi_waveform/multi_waveform.py,sha256=
|
112
|
+
bec_widgets/widgets/containers/figure/plots/multi_waveform/multi_waveform.py,sha256=NBVC9mWmeleTfLsfBl1yyMx8L4EgHFcdM9kX20QOJ00,11766
|
113
113
|
bec_widgets/widgets/containers/figure/plots/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
114
|
-
bec_widgets/widgets/containers/figure/plots/waveform/waveform.py,sha256=
|
114
|
+
bec_widgets/widgets/containers/figure/plots/waveform/waveform.py,sha256=g9wQW_Zwi7uQft7iJnpNibz9-Wl7HEIOgvdJjk1waSw,57824
|
115
115
|
bec_widgets/widgets/containers/figure/plots/waveform/waveform_curve.py,sha256=9rOFHIxRjz0-G6f-mpw0FNmX846ZPwGn8yrJ3FpxlVc,8725
|
116
116
|
bec_widgets/widgets/containers/layout_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
117
117
|
bec_widgets/widgets/containers/layout_manager/layout_manager.py,sha256=mPKLWp1ZJtr1K59jJWbpDaWUjGr47QG3-nNrEqo6a0E,33811
|
@@ -362,8 +362,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=Z
|
|
362
362
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
|
363
363
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
|
364
364
|
bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
|
365
|
-
bec_widgets-1.24.
|
366
|
-
bec_widgets-1.24.
|
367
|
-
bec_widgets-1.24.
|
368
|
-
bec_widgets-1.24.
|
369
|
-
bec_widgets-1.24.
|
365
|
+
bec_widgets-1.24.3.dist-info/METADATA,sha256=SGDLgLhTapCm7V1UZ0WbVcQK7fe99jsH7b3KpN7gSZ8,1173
|
366
|
+
bec_widgets-1.24.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
367
|
+
bec_widgets-1.24.3.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
368
|
+
bec_widgets-1.24.3.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
369
|
+
bec_widgets-1.24.3.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|