Trace collected at: 2010-12-23 15:08:09.651000 ---------------------------------------------------------------------- ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[334]: print >> log, "Scope settings:\n%s" % (pprint.pformat(scope_scales)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[336]: if(connector not in channel_map.keys()): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[343]: if(connector): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[344]: print >> log, "User specified connector J%d. This will test channels %s" % (connector, str(channel_map[connector])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[351]: fbox = fbox.lower() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[352]: if(fbox not in ['grounded', 'driven', 'bypassed']): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[358]: if(debug): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[361]: freqs = [1, 2, 5, 10, 20, 50, ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[368]: results = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[371]: msg = "Set FBOXes to %s" % (fbox) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[372]: print >> log, msg ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[373]: Gseos.MessageBox(msg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[376]: ds.set_ampl(2.5, vpp=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[379]: scope_config_num = 8 ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[380]: print >> log, "Recalling scope saved config %d" % (scope_config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[381]: scope.gpib_cmd('recall:setup %d' % (scope_config_num)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[384]: print >> log, "Scope measurement parameters:" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[385]: meas_str = scope.gpib_cmd('measurement:MEAS1?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[386]: print >> log, "MEAS1: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[387]: meas_str = scope.gpib_cmd('measurement:MEAS2?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[388]: print >> log, "MEAS2: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[389]: meas_str = scope.gpib_cmd('measurement:MEAS3?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[390]: print >> log, "MEAS3: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[456]: print >> log, "ERROR: Scope couldn't detect phase or some other measurement was configured on MEAS1" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[456]: print >> log, "ERROR: Scope couldn't detect phase or some other measurement was configured on MEAS1" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[487]: print >> log, "Resetting switch matrix and signal generator." ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[488]: ds.set_ampl(0) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[489]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[490]: matrix.reset('ALL') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[491]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[492]: scope.force_trig() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[494]: return True Trace collected at: 2010-12-23 15:51:37.213000 ---------------------------------------------------------------------- ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[334]: print >> log, "Scope settings:\n%s" % (pprint.pformat(scope_scales)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[336]: if(connector not in channel_map.keys()): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[343]: if(connector): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[344]: print >> log, "User specified connector J%d. This will test channels %s" % (connector, str(channel_map[connector])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[351]: fbox = fbox.lower() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[352]: if(fbox not in ['grounded', 'driven', 'bypassed']): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[358]: if(debug): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[361]: freqs = [1, 2, 5, 10, 20, 50, ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[368]: results = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[371]: msg = "Set FBOXes to %s" % (fbox) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[372]: print >> log, msg ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[373]: Gseos.MessageBox(msg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[376]: ds.set_ampl(2.5, vpp=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[379]: scope_config_num = 8 ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[380]: print >> log, "Recalling scope saved config %d" % (scope_config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[381]: scope.gpib_cmd('recall:setup %d' % (scope_config_num)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[384]: print >> log, "Scope measurement parameters:" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[385]: meas_str = scope.gpib_cmd('measurement:MEAS1?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[386]: print >> log, "MEAS1: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[387]: meas_str = scope.gpib_cmd('measurement:MEAS2?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[388]: print >> log, "MEAS2: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[389]: meas_str = scope.gpib_cmd('measurement:MEAS3?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[390]: print >> log, "MEAS3: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[487]: print >> log, "Resetting switch matrix and signal generator." ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[488]: ds.set_ampl(0) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[489]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[490]: matrix.reset('ALL') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[491]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[492]: scope.force_trig() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[494]: return True Trace collected at: 2010-12-23 16:30:27.042000 ---------------------------------------------------------------------- ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[334]: print >> log, "Scope settings:\n%s" % (pprint.pformat(scope_scales)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[336]: if(connector not in channel_map.keys()): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[343]: if(connector): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[344]: print >> log, "User specified connector J%d. This will test channels %s" % (connector, str(channel_map[connector])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[351]: fbox = fbox.lower() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[352]: if(fbox not in ['grounded', 'driven', 'bypassed']): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[358]: if(debug): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[361]: freqs = [1, 2, 5, 10, 20, 50, ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[368]: results = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[371]: msg = "Set FBOXes to %s" % (fbox) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[372]: print >> log, msg ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[373]: Gseos.MessageBox(msg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[376]: ds.set_ampl(2.5, vpp=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[379]: scope_config_num = 8 ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[380]: print >> log, "Recalling scope saved config %d" % (scope_config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[381]: scope.gpib_cmd('recall:setup %d' % (scope_config_num)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[384]: print >> log, "Scope measurement parameters:" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[385]: meas_str = scope.gpib_cmd('measurement:MEAS1?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[386]: print >> log, "MEAS1: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[387]: meas_str = scope.gpib_cmd('measurement:MEAS2?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[388]: print >> log, "MEAS2: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[389]: meas_str = scope.gpib_cmd('measurement:MEAS3?').strip() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[390]: print >> log, "MEAS3: %s" % (meas_str) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[394]: results[chan_num] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[438]: except KeyError: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[439]: results[chan_num][freq] = [ampl] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[397]: full_chan_name = '%s%d' % (chan_name, chan_num) # e.g. 'usher4' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[399]: matrix_config(matrix_map[full_chan_name]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[400]: time.sleep(3) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[404]: ds.set_freq(freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[405]: secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[407]: print >> log, "Measuring %s @ %d Hz" % (full_chan_name, freq) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[411]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[412]: scale = scope_scales[fbox][chan_name][freq] ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[413]: scope.gpib_cmd('ch2:scale %s' % scale) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[424]: scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv))) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[425]: sleeptime = 3 + ((5*secdiv) * 32) # *16 because scope is averaging 16 times and this has to settle ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[427]: print >> log, "Sleeping %d seconds to wait for scope averaging to settle" % (sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[428]: time.sleep(sleeptime) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[431]: ampl = float(scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[432]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[433]: print >> log, "Amplitude (SENSOR%d): %.4f V" % (chan_num, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[436]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[437]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[442]: ampl = float(scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[443]: if(ampl < 1000): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[444]: print >> log, "Amplitude (%s): %.4f V" % (full_chan_name, ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[447]: results[chan_num][freq].append(ampl) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[451]: phase_shift_in_deg = float(scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0]) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[452]: results[chan_num][freq].append(phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[453]: if(phase_shift_in_deg <= 360): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[454]: print >> log, "Phase shift: %.3f deg" % (phase_shift_in_deg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[403]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[396]: for chan_name in ['vsphere', 'usher', 'guard', 'emfisis']: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[392]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[460]: outfilename = os.path.join(settings.full_output_path, '%s_freq_response_chan%02d-fbox_%s.csv' % (settings.relative_output_path, chan_num, fbox)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[462]: if(os.path.exists(outfilename)): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[473]: f = open(outfilename, 'wb') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[474]: now = str(datetime.datetime.now()) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[475]: line = 'AC Frequency Response - Channel %02d - fbox=%s\n%s\n' % (chan_num, fbox, now) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[476]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[477]: line = 'Frequency (Hz),SENSOR Amp (Vpp),VSPHERE Amp,VSPHERE Phase (deg) wrt SENSOR,SENSOR Amp (Vpp),USHER Amp,USHER Phase wrt SENSOR,SENSOR Amp (Vpp),GUARD Amp,GUARD Phase wrt SENSOR,SENSOR Amp,EMFISIS Amp,EMFISIS Phase wrt SENSOR\n' ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[478]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[481]: value_string = ','.join(map(lambda x: str(x), results[chan_num][freq])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[482]: line = '%d,%s\n' % (freq, value_string) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[483]: f.write(line) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[480]: for freq in freqs: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[484]: f.close() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[485]: print >> log, "Wrote %s" % (outfilename) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[459]: for chan_num in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[487]: print >> log, "Resetting switch matrix and signal generator." ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[488]: ds.set_ampl(0) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[489]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[490]: matrix.reset('ALL') ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[491]: time.sleep(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[492]: scope.force_trig() ../../GSEOS_scripts/BEB/science_calibration\beb_scical_ac.py[494]: return True