0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

wip fix waveform length

This commit is contained in:
2025-04-14 13:11:41 +02:00
committed by wakonig_k
parent 3625133518
commit 63c0027713

View File

@ -121,9 +121,9 @@ def test_async_plotting(qtbot, bec_client_lib, connected_client_gui_obj):
# Test add
dev.waveform.sim.select_model("GaussianModel")
dev.waveform.sim.params = {"amplitude": 1000, "center": 4000, "sigma": 300}
dev.waveform.sim.params = {"amplitude": 1000, "center": 400, "sigma": 300}
dev.waveform.async_update.put("add")
dev.waveform.waveform_shape.put(100000) # Do not reduce, data needs to be large to downsample
dev.waveform.waveform_shape.put(1000) # Do not reduce, data needs to be large to downsample
wf = dock.new("wf_dock").new("Waveform")
curve = wf.plot(y_name="waveform")