name='D1 Lags (sec)', cfreq=f1, inputlvl=-2, start=(-lags / BW), stop=(lags / BW), pt=(lags * 2 - 1), nSample=lsamples, sampFreq=BW) D2 = AfDig(adressDigi='3036D2', adressLo='3010D2', LoPosAB=0, LoRef=3, name='D2 Lags (sec)', cfreq=f2, inputlvl=-2, start=(-lags / BW), stop=(lags / BW), pt=(lags * 2 - 1), nSample=lsamples, sampFreq=BW) # Sweep equipment setup nothing = dummy('none', name='nothing', start=0, stop=1, pt=1, sstep=20e-3, stime=0.0) vBias = sim928c(sim900, name='V 1Mohm', sloti=2, start=-0.010, stop=-0.010, pt=1, sstep=0.060, stime=0.020) vMag = sim928c(sim900, name='Magnet V R=22.19KOhm', sloti=3, start=-0.85, stop=-0.57, pt=71, sstep=0.03, stime=0.020) pFlux = AnSigGen('GPIB0::17::INSTR', name='FluxPump', start=2.03, stop=0.03, pt=101, sstep=30e-3, stime=1e-3) #-30 dB at output sgen = None pFlux.set_power_mode(1) # Linear mode in mV # f1+f2
name='D2', cfreq=f2, inputlvl=-15, start=(-lags / BW), stop=(lags / BW), pt=(lags * 2 - 1), nSample=lsamples, sampFreq=BW) # Sweep equipment setup pFlux = AnSigGen('GPIB0::8::INSTR', name='FluxPump', start=0.02, stop=0.001, pt=41, sstep=10, stime=0) #D12spacing = dummy(name='D1-f', # start=5.4e9, stop=3.5e9, pt=1, # sstep=4e9, stime=0.0) vBias = sim928c(sim900, name='V 1Mohm', sloti=4, start=0.0, stop=0.0, pt=1, sstep=0.060, stime=0.020) vMag = sim928c(sim900, name='Magnet V R=22.19KOhm', sloti=3, start=-1.09, stop=-1.09, pt=1, sstep=0.03, stime=0.020) nothing = dummy(name='nothing', start=0, stop=1, pt=1, sstep=1.0, stime=0.0) pFlux.set_power_mode(1) # Linear mode in mV pFlux.set_freq(f1+f2) pFlux.sweep_par='power' # Power sweep # D12spacing.D1 = D1 # assign objects (in reverse D1 f > D2 f)
pFlux.set_power_mode(0) # Log(0)/Linear mode in mV (1) pFlux.set_frequency(fd) pFlux.sweep_par = 'power' # Power sweep pFlux.set_power(-50) pFlux.output(0) # Power OFF (0)/ On (1) # -20 dB at output dummyD1D2 = dummy('prober', name='Probe frequency', start=4.5e9, stop=5.8e9, pt=391, sstep=6e9, stime=0.0) dummyD1D2.D1 = D1 dummyD1D2.D2 = D2 dummyD1D2.sgen = pFlux dummyD1D2.sweep_par = 'f11' vBias = sim928c(sim900, name='V 1Mohm', sloti=4, start=-20.0+0.0017, stop=20.0017, pt=9, sstep=0.200, stime=0.025) vBias.set_volt(0.0) vBias.output(1) vMag = sim928c(sim900, name='Magnet V R=22.19KOhm', sloti=3, start=-2.6, stop=-2.6, pt=1, sstep=0.03, stime=0.020) vMag.set_volt(0.0) vMag.output(1) nothing = dummy('none', name='nothing', start=0, stop=1, pt=1, sstep=20e-3, stime=0.0)
sstep=30e-3, stime=1e-3) pFlux.set_power_mode(0) # Log(0)/Linear mode in mV (1) pFlux.set_frequency(fd) pFlux.sweep_par = 'power' # Power sweep pFlux.set_power(-50) pFlux.output(0) # Power OFF (0)/ On (1) # -20 dB at output dummyD1D2 = dummy('prober', name='Probe frequency', start=4.45e9, stop=4.45e9, pt=1, sstep=6e9, stime=0.0) dummyD1D2.D1 = D1 dummyD1D2.D2 = D2 dummyD1D2.sgen = pFlux dummyD1D2.sweep_par = 'f11_2' vBias = sim928c(sim900, name='V 1Mohm', sloti=4, start=-6.0, stop=6.0, pt=301, sstep=0.200, stime=0.020) vBias.set_volt(0.0) vBias.output(1) vMag = sim928c(sim900, name='Magnet V R=22.19KOhm', sloti=3, start=-6.75, stop=2.25, pt=301, sstep=0.03, stime=0.020) nothing = dummy('none', name='nothing', start=0, stop=1, pt=1, sstep=20e-3, stime=0.0)
sim900 = sim900c('GPIB0::12::INSTR') vm = key2000('GPIB0::29::INSTR') f1 = 4.8e9 f2 = 4.1e9 # Sweep equipment setup nothing = dummy('none', name='nothing', start=0, stop=1, pt=1, sstep=20e-3, stime=0.0) vBias = sim928c(sim900, name='V 1Mohm', sloti=4, start=(-6 +0.002), stop=6.002, pt=301, sstep=0.060, stime=0.020) #vMag = dummy(sim900, name='Magnet V R=22.19KOhm', sloti=3, # start=-0.0, stop=0.0, pt=351, # sstep=0.03, stime=0.020) pFlux = dummy('GPIB0::8::INSTR', name='FluxPump', start=0.00, stop=0.00, pt=1, sstep=10, stime=0) #-30 dB at output sgen = None #pFlux.set_power_mode(1) # Linear mode in mV ## f1+f2
LoPosAB=0, LoRef=3, name="D2 Lags (sec)", cfreq=f2, inputlvl=-2, start=(-lags / BW), stop=(lags / BW), pt=(lags * 2 - 1), nSample=lsamples, sampFreq=BW, ) # Sweep equipment setup nothing = dummy("none", name="nothing", start=0, stop=1, pt=1, sstep=20e-3, stime=0.0) vBias = sim928c(sim900, name="V 1Mohm", sloti=2, start=-20.0, stop=20.0, pt=201, sstep=0.060, stime=0.020) vMag = sim928c(sim900, name="Magnet V R=22.19KOhm", sloti=3, start=-0.85, stop=-0.57, pt=5, sstep=0.03, stime=0.020) pFlux = AnSigGen("GPIB0::17::INSTR", name="FluxPump", start=0.03, stop=0.03, pt=1, sstep=30e-3, stime=1e-3) # -30 dB at output sgen = None pFlux.set_power_mode(1) # Linear mode in mV # f1+f2 pFlux.set_freq(f1 + f2) pFlux.sweep_par = "power" # Power sweep dim_3 = pFlux dim_3.defval = 0.03 # pFlux