sstep=20e-3, stime=0.0) DC_check = True dim_1 = vBias dim_1.defval = 0.0 dim_2 = dummyD1D2 dim_2.defval = 4e9 dim_3 = vMag dim_3.defval = 0.0 dim_1.UD = False recordD12 = True # activates /deactivates all D1 D2 data storage D12 = CorrProc(D1, D2, pFlux, sgen, lags, BW, lsamples, corrAvg) D12.doHist2d = False D12.doBG = False D12.doRaw = False D12.doCorrel = True def sweep_dim_1(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime) sleep(0.1) def sweep_dim_2(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime) def sweep_dim_3(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime)
# f1+f2 pFlux.set_freq(f1+f2) pFlux.sweep_par='power' # Power sweep dim_1 = vBias dim_1.defval = 0.0 dim_2 = vMag dim_2.defval = 0.0 dim_3 = pFlux dim_3.defval = 0.03 dim_1.UD = False recordD12 = True # activates /deactivates all D1 D2 data storage D12 = CorrProc(D1, D2, pFlux, sgen, lags, BW, lsamples, corrAvg) D12.doHist2d = False D12.doBG = False D12.doRaw = True D12.doCorrel = True def sweep_dim_1(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime) def sweep_dim_2(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime) def sweep_dim_3(obj, value): ramp(obj, obj.sweep_par, value, obj.sstep, obj.stime) # This describes how data is saved