aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-24 23:48:34 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-24 23:48:34 -0400
commit6c79a1eac1eea1aba9a7bf044941b36404b61235 (patch)
tree919d9af99c152c771cd6a5acaefa9065b303999e
parent669d51b89e330b7f1b1b199275cc69ed2d9c850d (diff)
downloadqolab-6c79a1eac1eea1aba9a7bf044941b36404b61235.tar.gz
qolab-6c79a1eac1eea1aba9a7bf044941b36404b61235.zip
rf frequency is set into predefined value
-rw-r--r--eitControl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/eitControl.py b/eitControl.py
index 8c31e88..fb1a450 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -115,6 +115,8 @@ class Experiment:
fCent = self.config['RF'].getfloat('central_frequency', fallback=6.83468e9)
fSpan = self.config['RF'].getfloat('frequency_span', fallback=100e3)
+ rf_f_init = self.config['RF'].getfloat('initial_frequency', fallback=6.834e9)
+ self.hardware['rfGen'].setFreq(rf_f_init)
self.rfGenFunc = RampGen(start=0, stop=0, sweeper = self.sweeper)
self.rfGenFunc.setCenter(fCent)
self.rfGenFunc.setSpan(fSpan)