diff --git a/script/Electric_field_loop.py b/script/Electric_field_loop.py index cfce928..6864ea1 100644 --- a/script/Electric_field_loop.py +++ b/script/Electric_field_loop.py @@ -54,10 +54,10 @@ for i in range(0,No_of_steps): wait_channel(OTF_DONE, 1, type = 'i') readback2 = energy.read() sleep(1); - detector1 = float(keithley_1a.read()) #Keithley1 - detector2 = float(keithley_2a.read()) #Keithley2 + detector1 = keithley_1a.read() #Keithley1 + detector2 = keithley_2a.read() #Keithley2 detector4 = caget(OTF_MODE2) #polarization in ID2 - M1 = detector2/detector1 + M1 = float(detector2)/float(detector1) temp_tey=temp_tey+(M1); ADC2_temp_E1=ADC2_temp_E1+detector2; ADC1_temp_E1=ADC1_temp_E1+detector1;