Fixed bug with missing RX event.

This commit is contained in:
jupfi 2024-09-11 14:25:58 +02:00
parent 820bdbebb7
commit 1e60e7e633

View file

@ -87,7 +87,7 @@ class SimulatorController(SpectrometerController):
else: else:
measurement_data.add_dataset(tdx, result / simulation.averages) measurement_data.add_dataset(tdx, result / simulation.averages)
if readout_scheme.any(): if (rx_begin and rx_stop) and readout_scheme.any():
measurement_data.phase_shift(readout_scheme[cycle][1], cycle) measurement_data.phase_shift(readout_scheme[cycle][1], cycle)