diff options
author | Qol Group Shared Data <qol@squeezer.physics.wm.edu> | 2022-01-28 16:20:59 -0500 |
---|---|---|
committer | Qol Group Shared Data <qol@squeezer.physics.wm.edu> | 2022-01-28 16:20:59 -0500 |
commit | 900b61306f631e140a4280241036698aaec84b67 (patch) | |
tree | 15e541dfe2670055df4dbaddb2652733b76903dc /examples | |
parent | 0598075f537d19804db62799cf8ae91aa17bae25 (diff) | |
download | qolab-900b61306f631e140a4280241036698aaec84b67.tar.gz qolab-900b61306f631e140a4280241036698aaec84b67.zip |
added m list scan
Diffstat (limited to 'examples')
-rw-r--r-- | examples/grab_eit_shapes.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/examples/grab_eit_shapes.py b/examples/grab_eit_shapes.py index 200d109..11689fb 100644 --- a/examples/grab_eit_shapes.py +++ b/examples/grab_eit_shapes.py @@ -154,9 +154,21 @@ if __name__ == '__main__': scope_fdbk.config['tags'] = {} - # if we want to save new set of traces repeat this two commands - scope_fdbk.config['tags']['apparatus']=getConfig(apparatus) - scope_fdbk.save( maxRequiredPoints=1000 ) + cfFreq = [6_833_980_000, 6_834_686_000, 6_835_393_000] + m = [-2, 0, 2] + #rfgen.setSweepCentralFreq(6_833_980_000) + rfgen.setSweepCentralFreq(6_834_686_000) + #rfgen.setSweepCentralFreq(6_835_393_000) + + for fr,m in zip(cfFreq, m): + rfgen.setSweepCentralFreq(fr) + print(f'time to settle for {m=} with {fr=}') + time.sleep(10) + print('settling done') + + # if we want to save new set of traces repeat this two commands + scope_fdbk.config['tags']['apparatus']=getConfig(apparatus) + scope_fdbk.save( maxRequiredPoints=1000 ) tsdb_ingester.commit() |