diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-15 18:22:57 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-15 18:22:57 -0400 |
commit | 82f11d25baa24ec6efc84e3e36ae155d3eeda122 (patch) | |
tree | 27a8799b2802c92d1da82401d5371d6c5edded7f | |
parent | 41974c67feae386a0114e6f5de8d5496089faa4f (diff) | |
download | pyExpControl-82f11d25baa24ec6efc84e3e36ae155d3eeda122.tar.gz pyExpControl-82f11d25baa24ec6efc84e3e36ae155d3eeda122.zip |
simplified assignments
-rw-r--r-- | eitControl.py | 6 |
1 files changed, 2 insertions, 4 deletions
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) |