aboutsummaryrefslogtreecommitdiff
path: root/eitControl.py
diff options
context:
space:
mode:
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):