From 900b61306f631e140a4280241036698aaec84b67 Mon Sep 17 00:00:00 2001 From: Qol Group Shared Data Date: Fri, 28 Jan 2022 16:20:59 -0500 Subject: added m list scan --- examples/grab_eit_shapes.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'examples') 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() -- cgit v1.2.3