From 82f11d25baa24ec6efc84e3e36ae155d3eeda122 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Tue, 15 Jun 2021 18:22:57 -0400 Subject: simplified assignments --- eitControl.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'eitControl.py') diff --git a/eitControl.py b/eitControl.py index 43050a1..8bd9a61 100644 --- a/eitControl.py +++ b/eitControl.py @@ -51,10 +51,8 @@ class Experiment: self.hardware = {} self.sweeper = Sweeper(self.root, Npoints=500, SweepTime=10, onTicCallbacks=[self.onTic]) self.funcGen = TriangleGen(0, 5, sweeper = self.sweeper) - fCent=6.83468e9 - self.fCent=fCent - fSpan=100e3 - self.fSpan=fSpan + self.fCent = fCent = 6.83468e9 + self.fSpan = fSpan = 100e3 self.rfGenFunc = RampGen(fCent-fSpan/2, fCent+fSpan/2, sweeper = self.sweeper) self.hardwareSetup(args) -- cgit v1.2.3