aboutsummaryrefslogtreecommitdiff
path: root/eitControl.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-07-13 11:03:59 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-07-13 11:04:49 -0400
commit3d4b282e58ed41d159abfcf2d08eb9bada9c0d37 (patch)
treedd35e7cd80028d5a73235bccfb014abbd0fa8a8b /eitControl.py
parent5e9c7f11e6fd6a95f198daec014826d74ed00ba6 (diff)
downloadpyExpControl-3d4b282e58ed41d159abfcf2d08eb9bada9c0d37.tar.gz
pyExpControl-3d4b282e58ed41d159abfcf2d08eb9bada9c0d37.zip
rfGen sweeped with SawGen to avoid lock loss with abrupt back stroke
Diffstat (limited to 'eitControl.py')
-rw-r--r--eitControl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/eitControl.py b/eitControl.py
index 3902e8e..d258ae4 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -17,7 +17,7 @@ import numpy as np
import csv
import ue9qol
-from funcGenerator import Sweeper, SinGen, TriangleGen, RampGen, PulseGen
+from funcGenerator import Sweeper, SinGen, TriangleGen, RampGen, PulseGen, SawGen
import rfGen
from configparser import ConfigParser, ExtendedInterpolation
@@ -110,7 +110,7 @@ class Experiment:
fSpan = self.config['RF'].getfloat('frequency_span', fallback=100e3)
rf_f_init = self.config['RF'].getfloat('initial_frequency', fallback=6.834e9)
self.hardware['rfGen'].setFreq(rf_f_init)
- self.rfGenFunc = RampGen(start=0, stop=0, sweeper = self.sweeper)
+ self.rfGenFunc = SawGen(start=0, stop=0, sweeper = self.sweeper, duty_cycle=0.9)
self.rfGenFunc.setCenter(fCent)
self.rfGenFunc.setSpan(fSpan)