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

fix: increase points in waveform to ensure downsampling while plotting

This commit is contained in:
2025-04-11 18:23:49 +02:00
committed by wakonig_k
parent 60c5addc3f
commit 666ca0b3d0

View File

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