aboutsummaryrefslogtreecommitdiff
path: root/eitControl.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 17:30:33 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 17:30:33 -0400
commit0c60367f237948ba02d1467106489150989393bd (patch)
tree170901e5918dd1a387ada4cb8352c215bc34b2aa /eitControl.py
parentf10d0e1a9b1438826b679a35e299a29b60956560 (diff)
downloadpyExpControl-0c60367f237948ba02d1467106489150989393bd.tar.gz
pyExpControl-0c60367f237948ba02d1467106489150989393bd.zip
sweep adjustment
Diffstat (limited to 'eitControl.py')
-rw-r--r--eitControl.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/eitControl.py b/eitControl.py
index 9fe4ad5..5232435 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -35,12 +35,15 @@ class Experiment:
self.guiSweeper.cmdStart()
self.hardware = {}
self.hardwareSetup()
- self.sweeper = Sweeper(self.root, Npoints=100, SweepTime=30, onTicCallbacks=[self.onTic])
+ self.sweeper = Sweeper(self.root, Npoints=500, SweepTime=10, onTicCallbacks=[self.onTic])
# self.funcGen = SinGen(2, 2, sweeper = self.sweeper)
# self.funcGen = RampGen(0, 5, sweeper = self.sweeper)
self.funcGen = TriangleGen(0, 5, sweeper = self.sweeper)
- self.rfGenFunc = RampGen(6.8344e9, 6.8348e9, sweeper = self.sweeper)
-
+ fCent=6.83468e9
+ self.fCent=fCent
+ fSpan=50e3
+ self.fSpan=fSpan
+ self.rfGenFunc = RampGen(fCent-fSpan/2, fCent+fSpan/2, sweeper = self.sweeper)
def hardwareSetup(self):