diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-04 13:17:40 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-04 13:17:40 -0500 |
commit | 6b37cf67dc1c278d6db99bf893cde5ce05d273bc (patch) | |
tree | b91ffc1cf2496d9493689dc730fd30fd25daa6b1 | |
parent | 115db6772b481e20b9b1196a9f15f31613e46037 (diff) | |
download | pyExpControl-6b37cf67dc1c278d6db99bf893cde5ce05d273bc.tar.gz pyExpControl-6b37cf67dc1c278d6db99bf893cde5ce05d273bc.zip |
before noise estimate to the responses calibration
-rw-r--r-- | examples/lock_eit.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index ad14977..ee098f8 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -361,15 +361,6 @@ async def main(): await initial_lock_to_eit(apparatus, extra_tags=extra_tags) - await record_magnetometer_noise(apparatus) - - apparatus.gui_log.stop_tasks() - task_wp_update_loop.cancel() - logger.info("exiting main loop") - update_webpage(apparatus=apparatus) - return(apparatus) - - lockin_slope= await calibratingLockin(apparatus, extra_tags=extra_tags) ai['error_signal_response_to_eit_detuning'].conversion_factor = lockin_slope instruments_config.container = getConfig(apparatus) @@ -382,6 +373,14 @@ async def main(): # await sweepRFPower(apparatus, extra_tags=extra_tags, rfPowerList=rfPowerList) + await record_magnetometer_noise(apparatus) + + apparatus.gui_log.stop_tasks() + task_wp_update_loop.cancel() + logger.info("exiting main loop") + update_webpage(apparatus=apparatus) + return(apparatus) + await longTermLock(apparatus, extra_tags=extra_tags) apparatus.state = 'Done working with hardware' |