From 3392658a24c92796c650948dd62b2d15d1415df5 Mon Sep 17 00:00:00 2001 From: Serwan Asaad Date: Thu, 7 Mar 2024 14:07:53 +0100 Subject: [PATCH] moved octave_sdk import --- quam/components/octave.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/quam/components/octave.py b/quam/components/octave.py index 75aa2c82..f58e8764 100644 --- a/quam/components/octave.py +++ b/quam/components/octave.py @@ -15,11 +15,8 @@ from qm import QuantumMachinesManager from qm import QuantumMachine -from qm.octave import QmOctaveConfig -from qm.octave.qm_octave import QmOctave - -from octave_sdk import RFInputLOSource from qm.octave import QmOctaveConfig, RFOutputMode, ClockType +from qm.octave.qm_octave import QmOctave __all__ = [ @@ -267,6 +264,8 @@ def get_portmap(self): return portmap def configure_octave_settings(self): + from octave_sdk import RFInputLOSource + self.octave.set_clock(self.name, ClockType.Internal) for qe in self._channel_to_qe.values(): self.octave.set_rf_output_mode(qe, RFOutputMode.on)