From 110b42febf79bfe9c3f2a527eec9e97f4f13cb06 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 13 Aug 2014 18:37:31 +0800 Subject: [PATCH] examples/al_spectroscopy: AutoContext compatibility --- examples/al_spectroscopy.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/al_spectroscopy.py b/examples/al_spectroscopy.py index 4a3dfbd4c..ee73d3926 100644 --- a/examples/al_spectroscopy.py +++ b/examples/al_spectroscopy.py @@ -36,12 +36,12 @@ if __name__ == "__main__": exp = AluminumSpectroscopy( core=sd.Core(), - mains_sync=sd.Input("mains_sync"), - laser_cooling=sd.WaveOutput("laser_cooling"), - spectroscopy=sd.WaveOutput("spectroscopy"), - spectroscopy_b=sd.VoltageOutput("spectroscopy_b"), - state_detection=sd.WaveOutput("state_detection"), - pmt=sd.Input("pmt"), + mains_sync=sd.Input(name="mains_sync"), + laser_cooling=sd.WaveOutput(name="laser_cooling"), + spectroscopy=sd.WaveOutput(name="spectroscopy"), + spectroscopy_b=sd.VoltageOutput(name="spectroscopy_b"), + state_detection=sd.WaveOutput(name="state_detection"), + pmt=sd.Input(name="pmt"), spectroscopy_freq=432*MHz, photon_limit_low=10,