diff --git a/src/qibocal/protocols/dispersive_shift.py b/src/qibocal/protocols/dispersive_shift.py index a1c9be06d..19d6ff05f 100644 --- a/src/qibocal/protocols/dispersive_shift.py +++ b/src/qibocal/protocols/dispersive_shift.py @@ -125,20 +125,21 @@ def _acquisition( type=SweeperType.OFFSET, ) + execution_pars = ExecutionParameters( + nshots=params.nshots, + relaxation_time=params.relaxation_time, + acquisition_type=AcquisitionType.INTEGRATION, + averaging_mode=AveragingMode.CYCLIC, + ) results_0 = platform.sweep( sequence_0, - ExecutionParameters( - nshots=params.nshots, - relaxation_time=params.relaxation_time, - acquisition_type=AcquisitionType.INTEGRATION, - averaging_mode=AveragingMode.CYCLIC, - ), + execution_pars, sweeper, ) results_1 = platform.sweep( sequence_1, - params.execution_parameters, + execution_pars, sweeper, )