diff options
Diffstat (limited to 'eitControl.py')
-rw-r--r-- | eitControl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eitControl.py b/eitControl.py index 19d5e19..0036f52 100644 --- a/eitControl.py +++ b/eitControl.py @@ -113,8 +113,8 @@ class Experiment: rf=rfGen.rfGenLMX2487(port='COM5', speed=115200, timeout=1) self.hardware['rfGen'] = rf - fCent = 6.83468e9 - fSpan = 100e3 + fCent = self.config['RF'].getfloat('central_frequency', fallback=6.83468e9) + fSpan = self.config['RF'].getfloat('frequency_span', fallback=100e3) self.rfGenFunc = RampGen(start=0, stop=0, sweeper = self.sweeper) self.rfGenFunc.setCenter(fCent) self.rfGenFunc.setSpan(fSpan) |