From 0c60367f237948ba02d1467106489150989393bd Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 11 Jun 2021 17:30:33 -0400 Subject: sweep adjustment --- eitControl.py | 9 ++++++--- 1 file 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): -- cgit v1.2.3