diff options
Diffstat (limited to 'examples/grab_eit_shapes.py')
-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() |