Skip to content

Commit 7461f97

Browse files
committed
feat!: Align qblox attenuation with parameters convention
1 parent 7b6d390 commit 7461f97

File tree

1 file changed

+1
-1
lines changed
  • src/qibolab/_core/instruments/qblox/config

1 file changed

+1
-1
lines changed

src/qibolab/_core/instruments/qblox/config/port.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def lo(self, lo: OscillatorConfig) -> None:
227227
self.lo_freq = int(lo.frequency)
228228

229229
def att_(self, lo: OscillatorConfig) -> None:
230-
self.att = int(lo.power)
230+
self.att = -int(lo.power)
231231

232232
def mixer(self, mixer: IqMixerConfig) -> None:
233233
self.offset_path0 = mixer.offset_i

0 commit comments

Comments
 (0)