import atomize.device_modules.BH_15 as bh ### Experimental parameters POINTS = 194 STEP = 2 # length increment FIELD = 3473 AVERAGES = 1000 data_x = np.zeros(POINTS) data_y = np.zeros(POINTS) x_axis = np.arange(10, POINTS * STEP + 10, STEP) # 10 is initial length of the pulse ### pb = pb_pro.PB_ESR_500_Pro() t3034 = key.Keysight_3000_Xseries() bh15 = bh.BH_15() bh15.magnet_setup(FIELD, 1) bh15.magnet_field(FIELD) t3034.oscilloscope_trigger_channel('CH1') #tb = t3034.oscilloscope_time_resolution() t3034.oscilloscope_record_length(250) t3034.oscilloscope_acquisition_type('Average') t3034.oscilloscope_number_of_averages(AVERAGES) t3034.oscilloscope_stop() pb.pulser_pulse(name='P0', channel='MW', start='100 ns',
import atomize.device_modules.PB_ESR_500_pro as pb_pro #import atomize.general_modules.csv_opener_saver_tk_kinter as openfile ### Experimental parameters data = [] START_FREQ = 9650 END_FREQ = 9850 STEP = 2 CYCLES = 1 AVERAGES = 200 ### #open1d = openfile.Saver_Opener() pb = pb_pro.PB_ESR_500_Pro() mw = mwBridge.Mikran_X_band_MW_bridge() t3034 = t3034.Keysight_3000_Xseries() t3034.oscilloscope_acquisition_type('Average') t3034.oscilloscope_trigger_channel('CH1') t3034.oscilloscope_record_length(1000) tb = t3034.oscilloscope_time_resolution() t3034.oscilloscope_stop() t3034.oscilloscope_number_of_averages(AVERAGES) # setting pulses: pb.pulser_pulse(name='P0', channel='TRIGGER', start='0 ns', length='100 ns') pb.pulser_pulse(name='P1', channel='MW', start='100 ns', length='150 ns') pb.pulser_repetitoin_rate('1000 Hz') pb.pulser_update()